Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 173.3 kB / 490.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 84.72 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7856/0.7868, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/1.129, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.354/6.482, allocations: 1.929 GB / 3.14 GB, free: 343.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/6.483, allocations: 88.08 kB / 3.141 GB, free: 343.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 5.374/11.86, allocations: 1.314 GB / 4.454 GB, free: 196.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/11.86, allocations: 7.344 kB / 4.454 GB, free: 196.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006194/11.86, allocations: 0.6463 MB / 4.455 GB, free: 196.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006163/11.87, allocations: 1.76 MB / 4.457 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/11.87, allocations: 45.5 kB / 4.457 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/11.87, allocations: 79.31 kB / 4.457 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003154/11.87, allocations: 1.216 MB / 4.458 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/11.88, allocations: 1.299 MB / 4.459 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/11.88, allocations: 1.688 kB / 4.459 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/11.88, allocations: 3.906 kB / 4.459 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/11.88, allocations: 42.05 kB / 4.459 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/11.89, allocations: 7.487 MB / 4.467 GB, free: 191.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/11.89, allocations: 415.3 kB / 4.467 GB, free: 191.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/11.89, allocations: 368.9 kB / 4.468 GB, free: 191.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/11.89, allocations: 273.4 kB / 4.468 GB, free: 191.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/11.89, allocations: 45.84 kB / 4.468 GB, free: 191.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 4.007e-06/11.89, allocations: 3.75 kB / 4.468 GB, free: 191.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.002513/11.89, allocations: 0.8003 MB / 4.469 GB, free: 191.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/11.89, allocations: 60.88 kB / 4.469 GB, free: 191.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/11.9, allocations: 0.9186 MB / 4.47 GB, free: 191 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/11.9, allocations: 30.33 kB / 4.47 GB, free: 191 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/11.9, allocations: 0.5706 MB / 4.47 GB, free: 190.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/11.9, allocations: 233.3 kB / 4.47 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/11.9, allocations: 0 / 4.47 GB, free: 190.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/11.9, allocations: 338.2 kB / 4.471 GB, free: 190.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/11.9, allocations: 308.1 kB / 4.471 GB, free: 190.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/11.9, allocations: 0.6236 MB / 4.472 GB, free: 189.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/11.9, allocations: 418.9 kB / 4.472 GB, free: 189.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/11.9, allocations: 7.344 kB / 4.472 GB, free: 189.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001803/11.9, allocations: 0.9818 MB / 4.473 GB, free: 189.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006649/11.9, allocations: 2.477 MB / 4.475 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/11.9, allocations: 6.188 kB / 4.475 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.24e-05/11.9, allocations: 11.81 kB / 4.475 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/11.9, allocations: 196.6 kB / 4.476 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/11.9, allocations: 10.16 kB / 4.476 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/11.91, allocations: 148.8 kB / 4.476 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/11.91, allocations: 46.8 kB / 4.476 GB, free: 187.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/11.91, allocations: 3.156 kB / 4.476 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001698/11.91, allocations: 0.8069 MB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/11.91, allocations: 7.844 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/11.91, allocations: 14.66 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/11.91, allocations: 195.1 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/11.91, allocations: 17.25 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/11.91, allocations: 127.1 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/11.91, allocations: 42.38 kB / 4.477 GB, free: 187.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004942/11.91, allocations: 128.4 kB / 4.477 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/11.91, allocations: 140.2 kB / 4.477 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/11.91, allocations: 0.7871 MB / 4.478 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/11.91, allocations: 10.56 kB / 4.478 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/11.91, allocations: 7.844 kB / 4.478 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009706/11.91, allocations: 0.7605 MB / 4.479 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/11.92, allocations: 2.188 MB / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/11.92, allocations: 0 / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/11.92, allocations: 169.3 kB / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/11.92, allocations: 3.875 kB / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/11.92, allocations: 11.09 kB / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/11.92, allocations: 3.938 kB / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/11.92, allocations: 0 / 4.481 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001992/11.92, allocations: 1.322 MB / 4.482 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00316/11.93, allocations: 2.296 MB / 4.485 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/11.93, allocations: 328.2 kB / 4.485 GB, free: 185 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/11.93, allocations: 6.875 kB / 4.485 GB, free: 185 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/11.93, allocations: 83.39 kB / 4.485 GB, free: 185 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/11.93, allocations: 43.36 kB / 4.485 GB, free: 185 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/11.93, allocations: 33.23 kB / 4.485 GB, free: 185 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001727/11.93, allocations: 0.6875 MB / 4.486 GB, free: 184.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008203/11.94, allocations: 1.889 MB / 4.488 GB, free: 184.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006534/11.95, allocations: 3.53 MB / 4.491 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003217/11.95, allocations: 1.239 MB / 4.492 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/11.95, allocations: 2.5 kB / 4.492 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0006491/11.95, allocations: 342.9 kB / 4.493 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/11.95, allocations: 0.7228 MB / 4.493 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/11.96, allocations: 2.336 MB / 4.496 GB, free: 182.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/11.96, allocations: 1.508 MB / 4.497 GB, free: 182.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.463e-06/11.96, allocations: 3.594 kB / 4.497 GB, free: 182.1 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)