Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.438/2.438, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.001645/0.001645, allocations: 183.5 kB / 360.3 MB, free: 7.574 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.938/1.938, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001254/0.001254, allocations: 89.27 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2768/0.2781, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.9601, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.388/6.348, allocations: 2.082 GB / 3.045 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/6.348, allocations: 92.16 kB / 3.045 GB, free: 271.3 MB / 0.9323 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 6.242/12.59, allocations: 1.292 GB / 4.337 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/12.59, allocations: 9.406 kB / 4.337 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009299/12.6, allocations: 0.642 MB / 4.338 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007593/12.61, allocations: 1.77 MB / 4.34 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/12.61, allocations: 46.72 kB / 4.34 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/12.61, allocations: 79.97 kB / 4.34 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004196/12.61, allocations: 1.21 MB / 4.341 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/12.62, allocations: 1.29 MB / 4.342 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/12.62, allocations: 3.938 kB / 4.342 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/12.62, allocations: 2.688 kB / 4.342 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/12.62, allocations: 52.95 kB / 4.342 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/12.63, allocations: 7.285 MB / 4.349 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/12.63, allocations: 0.661 MB / 4.35 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/12.64, allocations: 372.3 kB / 4.35 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/12.64, allocations: 275 kB / 4.351 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/12.64, allocations: 43.91 kB / 4.351 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.627e-06/12.64, allocations: 0 / 4.351 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.003603/12.64, allocations: 0.798 MB / 4.351 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/12.64, allocations: 58.47 kB / 4.351 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/12.64, allocations: 0.917 MB / 4.352 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/12.64, allocations: 36.33 kB / 4.352 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/12.64, allocations: 0.5677 MB / 4.353 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/12.64, allocations: 231.9 kB / 4.353 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/12.64, allocations: 0 / 4.353 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001005/12.64, allocations: 347.7 kB / 4.354 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/12.64, allocations: 300.1 kB / 4.354 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/12.65, allocations: 0.6291 MB / 4.354 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/12.65, allocations: 416.7 kB / 4.355 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/12.65, allocations: 5.312 kB / 4.355 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003001/12.65, allocations: 0.9765 MB / 4.356 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005441/12.65, allocations: 2.469 MB / 4.358 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/12.65, allocations: 6.531 kB / 4.358 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-05/12.65, allocations: 10.53 kB / 4.358 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/12.65, allocations: 204.3 kB / 4.358 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/12.65, allocations: 14.62 kB / 4.358 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/12.66, allocations: 133.2 kB / 4.359 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/12.66, allocations: 41.52 kB / 4.359 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/12.66, allocations: 9.781 kB / 4.359 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002199/12.66, allocations: 0.8128 MB / 4.359 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/12.66, allocations: 4 kB / 4.359 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/12.66, allocations: 12 kB / 4.359 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/12.66, allocations: 195.7 kB / 4.36 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/12.66, allocations: 15.98 kB / 4.36 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/12.66, allocations: 121 kB / 4.36 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/12.66, allocations: 35.98 kB / 4.36 GB, free: 101.4 MB / 0.9636 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.00034/12.66, allocations: 136.8 kB / 4.36 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/12.66, allocations: 134.4 kB / 4.36 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/12.67, allocations: 0.772 MB / 4.361 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/12.67, allocations: 15.89 kB / 4.361 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/12.67, allocations: 0 / 4.361 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/12.67, allocations: 0.7654 MB / 4.362 GB, free: 99.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/12.67, allocations: 2.166 MB / 4.364 GB, free: 97.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/12.67, allocations: 2.75 kB / 4.364 GB, free: 97.35 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/12.67, allocations: 175.8 kB / 4.364 GB, free: 97.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/12.67, allocations: 4 kB / 4.364 GB, free: 97.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/12.67, allocations: 4 kB / 4.364 GB, free: 97.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/12.67, allocations: 11.98 kB / 4.364 GB, free: 97.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/12.67, allocations: 10.41 kB / 4.364 GB, free: 97.15 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002838/12.68, allocations: 1.369 MB / 4.365 GB, free: 95.7 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004391/12.68, allocations: 2.364 MB / 4.367 GB, free: 93.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/12.68, allocations: 315.2 kB / 4.368 GB, free: 92.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/12.68, allocations: 8 kB / 4.368 GB, free: 92.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/12.69, allocations: 85.53 kB / 4.368 GB, free: 92.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/12.69, allocations: 44.5 kB / 4.368 GB, free: 92.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/12.69, allocations: 31.98 kB / 4.368 GB, free: 92.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001537/12.69, allocations: 0.6814 MB / 4.369 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009182/12.7, allocations: 1.902 MB / 4.37 GB, free: 90.19 MB / 0.9636 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.00632/12.7, allocations: 3.525 MB / 4.374 GB, free: 87.12 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003735/12.71, allocations: 1.231 MB / 4.375 GB, free: 85.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/12.71, allocations: 0 / 4.375 GB, free: 85.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/12.71, allocations: 349.2 kB / 4.375 GB, free: 85.56 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/12.72, allocations: 0.7293 MB / 4.376 GB, free: 84.89 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/12.72, allocations: 2.309 MB / 4.378 GB, free: 82.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/12.73, allocations: 1.517 MB / 4.38 GB, free: 81.19 MB / 0.9636 GB Notification: Performance of SimCode: time 2.164e-06/12.73, allocations: 7.938 kB / 4.38 GB, free: 81.18 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)