Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_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.002913/0.002913, allocations: 180 kB / 7.458 MB, free: 2.141 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7466/0.7466, allocations: 133.5 MB / 141.4 MB, free: 15.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 103 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4578/0.4589, allocations: 88.43 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6492, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.178/4.827, allocations: 1.891 GB / 2.524 GB, free: 70.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/4.828, allocations: 91.94 kB / 2.524 GB, free: 70.78 MB / 0.6823 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.82/9.647, allocations: 1.309 GB / 3.833 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/9.647, allocations: 13.78 kB / 3.833 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/9.653, allocations: 0.6494 MB / 3.834 GB, free: 75.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005006/9.658, allocations: 1.767 MB / 3.835 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/9.658, allocations: 40.44 kB / 3.835 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/9.658, allocations: 83.31 kB / 3.836 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002435/9.66, allocations: 1.209 MB / 3.837 GB, free: 74.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/9.663, allocations: 1.295 MB / 3.838 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/9.663, allocations: 0 / 3.838 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/9.663, allocations: 2.656 kB / 3.838 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/9.663, allocations: 51.66 kB / 3.838 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/9.674, allocations: 7.277 MB / 3.845 GB, free: 69.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/9.676, allocations: 0.6545 MB / 3.846 GB, free: 69.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/9.676, allocations: 374.3 kB / 3.846 GB, free: 69.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/9.677, allocations: 271.6 kB / 3.846 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/9.677, allocations: 47.66 kB / 3.846 GB, free: 69.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 2.975e-06/9.677, allocations: 0 / 3.846 GB, free: 69.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.002511/9.679, allocations: 0.8054 MB / 3.847 GB, free: 68.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/9.679, allocations: 62.42 kB / 3.847 GB, free: 68.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/9.681, allocations: 0.9161 MB / 3.848 GB, free: 68.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/9.681, allocations: 28.3 kB / 3.848 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/9.682, allocations: 0.5754 MB / 3.849 GB, free: 67.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/9.682, allocations: 232.8 kB / 3.849 GB, free: 67.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/9.682, allocations: 0 / 3.849 GB, free: 67.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/9.682, allocations: 345 kB / 3.849 GB, free: 67.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/9.683, allocations: 304.5 kB / 3.85 GB, free: 67.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/9.683, allocations: 0.6245 MB / 3.85 GB, free: 66.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/9.684, allocations: 415 kB / 3.851 GB, free: 66.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/9.684, allocations: 0.7812 kB / 3.851 GB, free: 66.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00158/9.686, allocations: 0.9815 MB / 3.852 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005462/9.686, allocations: 2.472 MB / 3.854 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/9.686, allocations: 6.781 kB / 3.854 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/9.686, allocations: 10.66 kB / 3.854 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/9.687, allocations: 201.2 kB / 3.854 GB, free: 63.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/9.687, allocations: 16.33 kB / 3.854 GB, free: 63.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/9.689, allocations: 126.7 kB / 3.854 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.914e-05/9.689, allocations: 42.02 kB / 3.854 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/9.689, allocations: 2.719 kB / 3.854 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/9.69, allocations: 0.8094 MB / 3.855 GB, free: 63.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/9.69, allocations: 5.375 kB / 3.855 GB, free: 63.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/9.69, allocations: 11.78 kB / 3.855 GB, free: 63.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/9.691, allocations: 194 kB / 3.855 GB, free: 63.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/9.691, allocations: 20.06 kB / 3.855 GB, free: 63.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/9.693, allocations: 111.8 kB / 3.856 GB, free: 63.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/9.693, allocations: 44.48 kB / 3.856 GB, free: 63.27 MB / 0.7136 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.0003036/9.694, allocations: 130.5 kB / 3.856 GB, free: 63.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/9.694, allocations: 138.6 kB / 3.856 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/9.696, allocations: 0.7781 MB / 3.857 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/9.696, allocations: 10.66 kB / 3.857 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/9.696, allocations: 0 / 3.857 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/9.697, allocations: 0.7679 MB / 3.857 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/9.702, allocations: 2.167 MB / 3.859 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/9.702, allocations: 3.906 kB / 3.859 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/9.703, allocations: 175.6 kB / 3.86 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/9.703, allocations: 4 kB / 3.86 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/9.703, allocations: 10.53 kB / 3.86 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/9.703, allocations: 5.969 kB / 3.86 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/9.703, allocations: 0 / 3.86 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/9.705, allocations: 1.379 MB / 3.861 GB, free: 59.8 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002885/9.708, allocations: 2.364 MB / 3.863 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/9.709, allocations: 318.1 kB / 3.864 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/9.709, allocations: 10.09 kB / 3.864 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/9.71, allocations: 82.83 kB / 3.864 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/9.71, allocations: 44.06 kB / 3.864 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/9.711, allocations: 36.41 kB / 3.864 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.00114/9.712, allocations: 0.6909 MB / 3.864 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006975/9.719, allocations: 1.895 MB / 3.866 GB, free: 54.55 MB / 0.7136 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.005467/9.724, allocations: 3.533 MB / 3.87 GB, free: 51.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002364/9.727, allocations: 1.238 MB / 3.871 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/9.727, allocations: 4 kB / 3.871 GB, free: 50.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005108/9.727, allocations: 338.3 kB / 3.871 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/9.732, allocations: 0.7239 MB / 3.872 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/9.739, allocations: 2.319 MB / 3.874 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/9.741, allocations: 1.513 MB / 3.876 GB, free: 45.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.854e-06/9.741, allocations: 0 / 3.876 GB, free: 45.52 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)