Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 169.3 kB / 366.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 0.6256 GB, free: 7.504 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 77.95 kB / 0.7395 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3011/0.3021, allocations: 122.4 MB / 0.8591 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/1.074, allocations: 116.3 MB / 0.9726 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.384/5.459, allocations: 2.083 GB / 3.056 GB, free: 42.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/5.459, allocations: 90.05 kB / 3.056 GB, free: 42.33 MB / 0.948 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 4.97/10.43, allocations: 1.292 GB / 4.348 GB, free: 137.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/10.43, allocations: 6.594 kB / 4.348 GB, free: 137.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/10.43, allocations: 0.6434 MB / 4.349 GB, free: 137.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/10.44, allocations: 1.774 MB / 4.351 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/10.44, allocations: 41.31 kB / 4.351 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/10.44, allocations: 84.69 kB / 4.351 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/10.44, allocations: 1.213 MB / 4.352 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/10.45, allocations: 1.295 MB / 4.353 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/10.45, allocations: 0 / 4.353 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/10.45, allocations: 7.844 kB / 4.353 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/10.45, allocations: 43.02 kB / 4.353 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/10.46, allocations: 7.299 MB / 4.36 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/10.46, allocations: 0.6562 MB / 4.361 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/10.46, allocations: 370.5 kB / 4.361 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/10.46, allocations: 271.8 kB / 4.362 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/10.46, allocations: 45.38 kB / 4.362 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=67): time 3.747e-06/10.46, allocations: 0 / 4.362 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67): time 0.002474/10.46, allocations: 0.8069 MB / 4.362 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/10.46, allocations: 62.03 kB / 4.363 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/10.46, allocations: 0.9106 MB / 4.363 GB, free: 132.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/10.46, allocations: 29.55 kB / 4.363 GB, free: 132.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/10.46, allocations: 0.5698 MB / 4.364 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/10.46, allocations: 236.2 kB / 4.364 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/10.46, allocations: 0 / 4.364 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001014/10.46, allocations: 341.2 kB / 4.365 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/10.46, allocations: 301.5 kB / 4.365 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/10.47, allocations: 0.6245 MB / 4.365 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/10.47, allocations: 417.8 kB / 4.366 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/10.47, allocations: 1.656 kB / 4.366 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00219/10.47, allocations: 0.9771 MB / 4.367 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007363/10.47, allocations: 2.473 MB / 4.369 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/10.47, allocations: 10.56 kB / 4.369 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/10.47, allocations: 14.62 kB / 4.369 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/10.47, allocations: 202.8 kB / 4.369 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/10.47, allocations: 13.47 kB / 4.369 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/10.47, allocations: 135.9 kB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/10.47, allocations: 37.38 kB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/10.47, allocations: 3.875 kB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/10.47, allocations: 0.8101 MB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/10.47, allocations: 7.75 kB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/10.47, allocations: 11.31 kB / 4.37 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/10.47, allocations: 194.2 kB / 4.371 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/10.47, allocations: 19.58 kB / 4.371 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/10.48, allocations: 117.4 kB / 4.371 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/10.48, allocations: 42.78 kB / 4.371 GB, free: 128.5 MB / 0.9792 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.0003056/10.48, allocations: 128.7 kB / 4.371 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/10.48, allocations: 137.8 kB / 4.371 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/10.48, allocations: 0.7788 MB / 4.372 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/10.48, allocations: 11.03 kB / 4.372 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/10.48, allocations: 2.375 kB / 4.372 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008706/10.48, allocations: 0.7653 MB / 4.373 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/10.48, allocations: 2.169 MB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/10.48, allocations: 0 / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/10.48, allocations: 172.9 kB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/10.48, allocations: 5.375 kB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/10.48, allocations: 6.312 kB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/10.48, allocations: 8.359 kB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/10.48, allocations: 2.625 kB / 4.375 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002022/10.49, allocations: 1.381 MB / 4.376 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003178/10.49, allocations: 2.369 MB / 4.379 GB, free: 126.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/10.49, allocations: 312.3 kB / 4.379 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/10.49, allocations: 2.656 kB / 4.379 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/10.49, allocations: 89.39 kB / 4.379 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/10.49, allocations: 43.39 kB / 4.379 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/10.49, allocations: 37.8 kB / 4.379 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001113/10.49, allocations: 0.68 MB / 4.38 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006476/10.5, allocations: 1.894 MB / 4.381 GB, free: 126 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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.00568/10.51, allocations: 3.524 MB / 4.385 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002537/10.51, allocations: 1.237 MB / 4.386 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/10.51, allocations: 3.281 kB / 4.386 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/10.51, allocations: 348.4 kB / 4.386 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/10.51, allocations: 0.718 MB / 4.387 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/10.52, allocations: 2.322 MB / 4.389 GB, free: 124 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/10.52, allocations: 1.512 MB / 4.391 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/10.52, allocations: 0 / 4.391 GB, free: 123.3 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)