Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.00103/0.00103, allocations: 181.3 kB / 361.1 MB, free: 7.129 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.276/1.276, allocations: 205.1 MB / 0.6195 GB, free: 11.98 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.0008359/0.0008354, allocations: 102.5 kB / 0.7326 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2312/0.232, allocations: 121.4 MB / 0.8511 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.7841, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.898/4.682, allocations: 2.082 GB / 3.046 GB, free: 333 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/4.683, allocations: 96.94 kB / 3.046 GB, free: 333 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 3.518/8.201, allocations: 1.292 GB / 4.338 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/8.201, allocations: 8.5 kB / 4.338 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/8.205, allocations: 0.6475 MB / 4.339 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/8.209, allocations: 1.765 MB / 4.341 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/8.209, allocations: 40 kB / 4.341 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/8.209, allocations: 80 kB / 4.341 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/8.211, allocations: 1.215 MB / 4.342 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/8.213, allocations: 1.293 MB / 4.343 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/8.213, allocations: 0 / 4.343 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/8.213, allocations: 11.84 kB / 4.343 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/8.213, allocations: 50.05 kB / 4.343 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007789/8.221, allocations: 7.276 MB / 4.351 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/8.222, allocations: 0.6677 MB / 4.351 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/8.222, allocations: 369.2 kB / 4.352 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/8.223, allocations: 274.3 kB / 4.352 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/8.223, allocations: 47.95 kB / 4.352 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 2.936e-06/8.223, allocations: 0 / 4.352 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.001922/8.225, allocations: 0.8049 MB / 4.353 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/8.225, allocations: 60.06 kB / 4.353 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/8.226, allocations: 0.9134 MB / 4.354 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/8.226, allocations: 29.7 kB / 4.354 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/8.226, allocations: 0.5701 MB / 4.354 GB, free: 99.74 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/8.226, allocations: 232.5 kB / 4.354 GB, free: 99.51 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/8.226, allocations: 0 / 4.354 GB, free: 99.51 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/8.226, allocations: 345.9 kB / 4.355 GB, free: 99.17 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/8.227, allocations: 301.9 kB / 4.355 GB, free: 98.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/8.227, allocations: 0.6304 MB / 4.356 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/8.228, allocations: 417.7 kB / 4.356 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/8.228, allocations: 2.75 kB / 4.356 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001268/8.229, allocations: 0.9725 MB / 4.357 GB, free: 96.72 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000415/8.229, allocations: 2.47 MB / 4.359 GB, free: 94.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/8.229, allocations: 8 kB / 4.359 GB, free: 94.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/8.229, allocations: 19.69 kB / 4.359 GB, free: 94.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/8.23, allocations: 199.7 kB / 4.36 GB, free: 93.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/8.23, allocations: 15.92 kB / 4.36 GB, free: 93.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/8.232, allocations: 129.4 kB / 4.36 GB, free: 93.76 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/8.232, allocations: 43.98 kB / 4.36 GB, free: 93.72 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/8.232, allocations: 4 kB / 4.36 GB, free: 93.71 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/8.233, allocations: 0.8069 MB / 4.361 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/8.233, allocations: 8 kB / 4.361 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/8.233, allocations: 15.06 kB / 4.361 GB, free: 92.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/8.234, allocations: 191.7 kB / 4.361 GB, free: 92.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/8.234, allocations: 19.92 kB / 4.361 GB, free: 92.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/8.235, allocations: 116.1 kB / 4.361 GB, free: 92.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/8.235, allocations: 39.98 kB / 4.361 GB, free: 92.54 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.0001889/8.236, allocations: 132.8 kB / 4.361 GB, free: 92.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/8.236, allocations: 134.4 kB / 4.361 GB, free: 92.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/8.237, allocations: 0.7795 MB / 4.362 GB, free: 91.49 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/8.237, allocations: 8 kB / 4.362 GB, free: 91.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/8.237, allocations: 0 / 4.362 GB, free: 91.48 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007277/8.238, allocations: 0.7615 MB / 4.363 GB, free: 90.67 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/8.241, allocations: 2.169 MB / 4.365 GB, free: 88.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/8.241, allocations: 4 kB / 4.365 GB, free: 88.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/8.242, allocations: 167.8 kB / 4.365 GB, free: 88.28 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/8.242, allocations: 11.94 kB / 4.365 GB, free: 88.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/8.242, allocations: 11.09 kB / 4.365 GB, free: 88.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/8.242, allocations: 4 kB / 4.365 GB, free: 88.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/8.242, allocations: 3.594 kB / 4.365 GB, free: 88.26 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001363/8.243, allocations: 1.375 MB / 4.366 GB, free: 86.8 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002316/8.245, allocations: 2.371 MB / 4.369 GB, free: 84.35 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/8.246, allocations: 319.1 kB / 4.369 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/8.246, allocations: 4 kB / 4.369 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/8.247, allocations: 87.91 kB / 4.369 GB, free: 83.94 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/8.247, allocations: 36.77 kB / 4.369 GB, free: 83.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/8.247, allocations: 39.97 kB / 4.369 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007945/8.248, allocations: 0.6814 MB / 4.37 GB, free: 83.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00478/8.253, allocations: 1.9 MB / 4.372 GB, free: 81.28 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.003569/8.257, allocations: 3.529 MB / 4.375 GB, free: 78.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001748/8.258, allocations: 1.238 MB / 4.376 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/8.258, allocations: 0 / 4.376 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/8.259, allocations: 346.3 kB / 4.377 GB, free: 76.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/8.262, allocations: 0.7194 MB / 4.377 GB, free: 75.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/8.266, allocations: 2.309 MB / 4.38 GB, free: 73.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/8.267, allocations: 1.517 MB / 4.381 GB, free: 72.18 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/8.267, allocations: 0 / 4.381 GB, free: 72.18 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)