Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001143/0.001143, 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.4991/0.4991, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.415/1.415, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.001276/0.001276, allocations: 92.42 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2233/0.2247, allocations: 78.45 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.6378, allocations: 72.3 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.7608, allocations: 101.2 MB / 0.6518 GB, free: 8.832 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.7611, allocations: 67.97 kB / 0.6519 GB, free: 8.766 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003378/0.7645, allocations: 1.026 MB / 0.6529 GB, free: 7.719 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7646, allocations: 8.938 kB / 0.6529 GB, free: 7.711 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.7647, allocations: 6.625 kB / 0.6529 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7648, allocations: 159.1 kB / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.7649, allocations: 9.125 kB / 0.653 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.7649, allocations: 0 / 0.653 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.2e-05/0.765, allocations: 11.98 kB / 0.653 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.884e-05/0.765, allocations: 34.14 kB / 0.6531 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7651, allocations: 1.094 kB / 0.6531 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7651, allocations: 4.75 kB / 0.6531 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7651, allocations: 0 / 0.6531 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.7654, allocations: 230.9 kB / 0.6533 GB, free: 7.188 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.193e-05/0.7655, allocations: 27.11 kB / 0.6533 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.7655, allocations: 13.45 kB / 0.6533 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.7656, allocations: 4.031 kB / 0.6533 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.7656, allocations: 31.19 kB / 0.6534 GB, free: 7.098 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.7656, allocations: 0.7188 kB / 0.6534 GB, free: 7.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.7658, allocations: 46.14 kB / 0.6534 GB, free: 7.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.7658, allocations: 51.94 kB / 0.6535 GB, free: 6.984 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.7659, allocations: 93.8 kB / 0.6536 GB, free: 6.887 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7659, allocations: 25.7 kB / 0.6536 GB, free: 6.855 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.766, allocations: 89.95 kB / 0.6537 GB, free: 6.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.766, allocations: 4 kB / 0.6537 GB, free: 6.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.766, allocations: 0 / 0.6537 GB, free: 6.762 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7661, allocations: 318.8 kB / 0.654 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.7661, allocations: 0.6562 kB / 0.654 GB, free: 6.441 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.7662, allocations: 9.125 kB / 0.654 GB, free: 6.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.7662, allocations: 7.984 kB / 0.654 GB, free: 6.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7662, allocations: 1 kB / 0.654 GB, free: 6.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.742e-05/0.7663, allocations: 41.64 kB / 0.654 GB, free: 6.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7663, allocations: 4 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.7663, allocations: 0.9688 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7663, allocations: 4 kB / 0.654 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7665, allocations: 14.05 kB / 0.6541 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7665, allocations: 0 / 0.6541 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.7666, allocations: 16.89 kB / 0.6541 GB, free: 6.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7666, allocations: 3.281 kB / 0.6541 GB, free: 6.344 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.414e-05/0.7667, allocations: 101 kB / 0.6542 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.7667, allocations: 4 kB / 0.6542 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.7669, allocations: 49 kB / 0.6542 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7669, allocations: 4.953 kB / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.7669, allocations: 0 / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7669, allocations: 3.984 kB / 0.6542 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.7671, allocations: 146.9 kB / 0.6544 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7671, allocations: 2.562 kB / 0.6544 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.7672, allocations: 17.08 kB / 0.6544 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7672, allocations: 0.6875 kB / 0.6544 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.7672, allocations: 4 kB / 0.6544 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7672, allocations: 4.531 kB / 0.6544 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7672, allocations: 6.719 kB / 0.6544 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/0.7674, allocations: 137 kB / 0.6545 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002884/0.7677, allocations: 0.5095 MB / 0.655 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.7677, allocations: 77.11 kB / 0.6551 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.7677, allocations: 13.31 kB / 0.6551 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7678, allocations: 8.641 kB / 0.6551 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.7679, allocations: 4.5 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7679, allocations: 0.5625 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.224e-05/0.768, allocations: 84.06 kB / 0.6552 GB, free: 5.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008121/0.7688, allocations: 4 kB / 0.6552 GB, free: 5.086 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001448/0.7689, allocations: 101.5 kB / 0.6553 GB, free: 4.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.769, allocations: 16 kB / 0.6553 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.769, allocations: 0 / 0.6553 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.7691, allocations: 8 kB / 0.6553 GB, free: 4.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.7693, allocations: 6.75 kB / 0.6553 GB, free: 4.953 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.7696, allocations: 63.72 kB / 0.6554 GB, free: 4.867 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.7699, allocations: 0.6958 MB / 0.6561 GB, free: 4.145 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7699, allocations: 0 / 0.6561 GB, free: 4.145 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)