Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 188 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4678/0.4678, allocations: 90.84 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 342.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.08 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1819/0.183, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.5815, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.825/4.407, allocations: 1.881 GB / 2.434 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/4.407, allocations: 87.95 kB / 2.434 GB, free: 172.2 MB / 0.6042 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.329/8.737, allocations: 1.314 GB / 3.748 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/8.737, allocations: 8 kB / 3.748 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005432/8.742, allocations: 0.6493 MB / 3.749 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/8.747, allocations: 1.772 MB / 3.751 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/8.747, allocations: 55.84 kB / 3.751 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/8.747, allocations: 80 kB / 3.751 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002108/8.749, allocations: 1.212 MB / 3.752 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/8.751, allocations: 1.3 MB / 3.753 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/8.751, allocations: 4 kB / 3.753 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/8.751, allocations: 4 kB / 3.753 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/8.751, allocations: 46.45 kB / 3.753 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007973/8.759, allocations: 7.468 MB / 3.761 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/8.76, allocations: 417.7 kB / 3.761 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/8.76, allocations: 366.7 kB / 3.761 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/8.761, allocations: 279.9 kB / 3.762 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/8.761, allocations: 43.22 kB / 3.762 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 4.338e-06/8.761, allocations: 0 / 3.762 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.002151/8.763, allocations: 0.8067 MB / 3.762 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/8.763, allocations: 56.06 kB / 3.762 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/8.764, allocations: 0.9254 MB / 3.763 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/8.764, allocations: 33.7 kB / 3.763 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/8.765, allocations: 0.5695 MB / 3.764 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/8.765, allocations: 228.6 kB / 3.764 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/8.765, allocations: 0 / 3.764 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001348/8.765, allocations: 341.9 kB / 3.764 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/8.766, allocations: 309.9 kB / 3.765 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/8.766, allocations: 0.62 MB / 3.765 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/8.767, allocations: 418.6 kB / 3.766 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/8.767, allocations: 4 kB / 3.766 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001657/8.769, allocations: 0.9809 MB / 3.767 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/8.77, allocations: 2.482 MB / 3.769 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.423e-05/8.77, allocations: 4 kB / 3.769 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/8.77, allocations: 12 kB / 3.769 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/8.771, allocations: 199.7 kB / 3.769 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/8.771, allocations: 11.94 kB / 3.769 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/8.773, allocations: 147 kB / 3.77 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/8.773, allocations: 39.98 kB / 3.77 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/8.773, allocations: 4 kB / 3.77 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/8.774, allocations: 0.809 MB / 3.77 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/8.774, allocations: 8 kB / 3.77 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/8.774, allocations: 12 kB / 3.77 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/8.775, allocations: 204.3 kB / 3.771 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/8.775, allocations: 16 kB / 3.771 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/8.776, allocations: 123.3 kB / 3.771 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/8.776, allocations: 39.98 kB / 3.771 GB, free: 5.82 MB / 0.6511 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.00021/8.776, allocations: 131.3 kB / 3.771 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/8.777, allocations: 138.3 kB / 3.771 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/8.778, allocations: 0.7785 MB / 3.772 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/8.778, allocations: 8 kB / 3.772 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/8.778, allocations: 3.906 kB / 3.772 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009763/8.779, allocations: 0.7771 MB / 3.773 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/8.783, allocations: 2.182 MB / 3.775 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/8.783, allocations: 4.188 kB / 3.775 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/8.784, allocations: 163.8 kB / 3.775 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/8.784, allocations: 4 kB / 3.775 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/8.784, allocations: 12 kB / 3.775 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/8.784, allocations: 4 kB / 3.775 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/8.784, allocations: 3.984 kB / 3.775 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001813/8.786, allocations: 1.318 MB / 3.776 GB, free: 80 kB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3043/9.09, allocations: 2.296 MB / 3.778 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/9.091, allocations: 314.7 kB / 3.779 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/9.091, allocations: 14.83 kB / 3.779 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/9.092, allocations: 80.09 kB / 3.779 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/9.092, allocations: 42.58 kB / 3.779 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/9.092, allocations: 32.3 kB / 3.779 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0009305/9.093, allocations: 0.6941 MB / 3.78 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005278/9.099, allocations: 1.892 MB / 3.781 GB, free: 108.3 MB / 0.6511 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.003791/9.102, allocations: 3.528 MB / 3.785 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002079/9.104, allocations: 1.238 MB / 3.786 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/9.104, allocations: 6.094 kB / 3.786 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/9.105, allocations: 344.7 kB / 3.786 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/9.109, allocations: 0.7148 MB / 3.787 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/9.113, allocations: 2.332 MB / 3.789 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/9.114, allocations: 1.519 MB / 3.791 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/9.115, allocations: 3.406 kB / 3.791 GB, free: 105.7 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)