Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.8 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.2 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 89.67 kB / 0.671 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3991/0.4001, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.5787, allocations: 106.3 MB / 0.8847 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.165/4.744, allocations: 2.202 GB / 3.086 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/4.744, allocations: 99.81 kB / 3.086 GB, free: 201.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 3.778/8.523, allocations: 1.258 GB / 4.344 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/8.523, allocations: 9.688 kB / 4.344 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/8.528, allocations: 0.6534 MB / 4.345 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/8.533, allocations: 1.781 MB / 4.346 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/8.533, allocations: 40.53 kB / 4.346 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/8.533, allocations: 79.31 kB / 4.346 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002383/8.536, allocations: 1.213 MB / 4.348 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/8.538, allocations: 1.314 MB / 4.349 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/8.538, allocations: 4.375 kB / 4.349 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/8.538, allocations: 3.5 kB / 4.349 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/8.538, allocations: 46.52 kB / 4.349 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009484/8.548, allocations: 7.301 MB / 4.356 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/8.549, allocations: 0.6477 MB / 4.357 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/8.549, allocations: 366.9 kB / 4.357 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/8.55, allocations: 278.9 kB / 4.357 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/8.55, allocations: 46.56 kB / 4.357 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 4.889e-06/8.55, allocations: 3.609 kB / 4.357 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.002013/8.552, allocations: 0.793 MB / 4.358 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/8.552, allocations: 59 kB / 4.358 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/8.553, allocations: 0.9115 MB / 4.359 GB, free: 109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/8.553, allocations: 29.17 kB / 4.359 GB, free: 109 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/8.553, allocations: 0.5739 MB / 4.36 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/8.554, allocations: 231.1 kB / 4.36 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/8.554, allocations: 0 / 4.36 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.022e-05/8.554, allocations: 347.9 kB / 4.36 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/8.554, allocations: 296.4 kB / 4.36 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/8.555, allocations: 0.5851 MB / 4.361 GB, free: 108 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/8.555, allocations: 410.4 kB / 4.361 GB, free: 108 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.555, allocations: 3.625 kB / 4.361 GB, free: 108 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001368/8.557, allocations: 0.9641 MB / 4.362 GB, free: 107.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004267/8.557, allocations: 2.633 MB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/8.557, allocations: 12.14 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/8.557, allocations: 15.44 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/8.558, allocations: 194.3 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/8.558, allocations: 15.03 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/8.559, allocations: 136.5 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/8.56, allocations: 46.72 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/8.56, allocations: 5.906 kB / 4.365 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/8.561, allocations: 0.7976 MB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/8.561, allocations: 11.09 kB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/8.561, allocations: 17.28 kB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/8.561, allocations: 196.5 kB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/8.561, allocations: 15.92 kB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/8.563, allocations: 119.2 kB / 4.366 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/8.563, allocations: 41.3 kB / 4.367 GB, free: 105.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0002279/8.563, allocations: 133.8 kB / 4.367 GB, free: 105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/8.563, allocations: 140.2 kB / 4.367 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/8.565, allocations: 0.7662 MB / 4.368 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/8.565, allocations: 10.02 kB / 4.368 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/8.565, allocations: 2.969 kB / 4.368 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/8.565, allocations: 0.7499 MB / 4.368 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/8.568, allocations: 2.18 MB / 4.37 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/8.568, allocations: 0 / 4.37 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/8.569, allocations: 173 kB / 4.371 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/8.569, allocations: 7.812 kB / 4.371 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/8.569, allocations: 9.656 kB / 4.371 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/8.569, allocations: 3 kB / 4.371 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.569, allocations: 4.625 kB / 4.371 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001502/8.571, allocations: 1.357 MB / 4.372 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002454/8.573, allocations: 2.344 MB / 4.374 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/8.574, allocations: 337.7 kB / 4.375 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/8.574, allocations: 6.531 kB / 4.375 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/8.576, allocations: 92.78 kB / 4.375 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/8.576, allocations: 35.17 kB / 4.375 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/8.576, allocations: 38.72 kB / 4.375 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001103/8.577, allocations: 0.6856 MB / 4.375 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007667/8.585, allocations: 1.906 MB / 4.377 GB, free: 102.8 MB / 0.9011 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.007286/8.592, allocations: 3.524 MB / 4.381 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002568/8.595, allocations: 1.217 MB / 4.382 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/8.595, allocations: 0 / 4.382 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004495/8.595, allocations: 340.3 kB / 4.382 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/8.599, allocations: 0.7294 MB / 4.383 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/8.603, allocations: 2.324 MB / 4.385 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/8.604, allocations: 1.516 MB / 4.387 GB, free: 100 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/8.604, allocations: 6.906 kB / 4.387 GB, free: 100 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)