Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7527/0.7527, allocations: 141.8 MB / 149.1 MB, free: 10.08 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 179.5 kB / 181.9 MB, free: 7.012 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.4 MB / 436 MB, free: 15.05 MB / 347.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008837, allocations: 94.47 kB / 0.507 GB, free: 8.27 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 272.5 kB / 0.5884 GB, free: 5.055 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3952/0.3971, allocations: 89.63 MB / 0.676 GB, free: 166.6 MB / 0.5421 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.5526, allocations: 82.79 MB / 0.7568 GB, free: 113.9 MB / 0.5421 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.6648, allocations: 108.3 MB / 0.8626 GB, free: 5.496 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.665, allocations: 73.34 kB / 0.8626 GB, free: 5.426 MB / 0.5421 GB 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.002779/0.6678, allocations: 1.025 MB / 0.8636 GB, free: 4.355 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6679, allocations: 9 kB / 0.8637 GB, free: 4.348 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.668, allocations: 3.984 kB / 0.8637 GB, free: 4.344 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.668, allocations: 167 kB / 0.8638 GB, free: 4.141 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6681, allocations: 0 / 0.8638 GB, free: 4.141 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6681, allocations: 0 / 0.8638 GB, free: 4.141 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.598e-05/0.6681, allocations: 12 kB / 0.8638 GB, free: 4.129 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.429e-05/0.6682, allocations: 37.62 kB / 0.8639 GB, free: 4.086 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.6682, allocations: 0 / 0.8639 GB, free: 4.086 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.6682, allocations: 0 / 0.8639 GB, free: 4.086 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.6682, allocations: 7.938 kB / 0.8639 GB, free: 4.078 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.6685, allocations: 233.3 kB / 0.8641 GB, free: 3.812 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.6685, allocations: 30.61 kB / 0.8641 GB, free: 3.773 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.6686, allocations: 12.92 kB / 0.8641 GB, free: 3.758 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6686, allocations: 0 / 0.8641 GB, free: 3.758 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.6686, allocations: 38.55 kB / 0.8642 GB, free: 3.711 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6686, allocations: 0 / 0.8642 GB, free: 3.711 MB / 0.5421 GB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.6688, allocations: 45.55 kB / 0.8642 GB, free: 3.66 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.6688, allocations: 51.41 kB / 0.8643 GB, free: 3.598 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.771e-05/0.6688, allocations: 89 kB / 0.8644 GB, free: 3.504 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.6688, allocations: 29.69 kB / 0.8644 GB, free: 3.469 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.6689, allocations: 84.14 kB / 0.8645 GB, free: 3.383 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.6689, allocations: 7.906 kB / 0.8645 GB, free: 3.375 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.6689, allocations: 4.031 kB / 0.8645 GB, free: 3.371 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.6689, allocations: 310.8 kB / 0.8648 GB, free: 3.059 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.6689, allocations: 4 kB / 0.8648 GB, free: 3.055 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.669, allocations: 4 kB / 0.8648 GB, free: 3.051 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.505e-05/0.669, allocations: 4 kB / 0.8648 GB, free: 3.047 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.669, allocations: 0 / 0.8648 GB, free: 3.047 MB / 0.5421 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.108e-05/0.6691, allocations: 53.53 kB / 0.8648 GB, free: 2.988 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.6691, allocations: 6.656 kB / 0.8648 GB, free: 2.984 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.6691, allocations: 96 / 0.8648 GB, free: 2.984 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.6691, allocations: 4 kB / 0.8648 GB, free: 2.98 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.6692, allocations: 15.98 kB / 0.8649 GB, free: 2.965 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6692, allocations: 4 kB / 0.8649 GB, free: 2.961 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.6693, allocations: 4 kB / 0.8649 GB, free: 2.957 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.6693, allocations: 4 kB / 0.8649 GB, free: 2.953 MB / 0.5421 GB 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 4.103e-05/0.6693, allocations: 110.8 kB / 0.865 GB, free: 2.84 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6694, allocations: 3.906 kB / 0.865 GB, free: 2.836 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.6695, allocations: 53 kB / 0.865 GB, free: 2.777 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.6695, allocations: 0 / 0.865 GB, free: 2.777 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6695, allocations: 0 / 0.865 GB, free: 2.777 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6695, allocations: 0 / 0.865 GB, free: 2.777 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6696, allocations: 146.1 kB / 0.8652 GB, free: 2.598 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6696, allocations: 3.984 kB / 0.8652 GB, free: 2.594 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.6697, allocations: 15.94 kB / 0.8652 GB, free: 2.578 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6697, allocations: 3.938 kB / 0.8652 GB, free: 2.574 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.6697, allocations: 0 / 0.8652 GB, free: 2.574 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6697, allocations: 0 / 0.8652 GB, free: 2.574 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6697, allocations: 0 / 0.8652 GB, free: 2.574 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.503e-05/0.6698, allocations: 143.5 kB / 0.8653 GB, free: 2.418 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001027/0.6699, allocations: 0.5078 MB / 0.8658 GB, free: 1.891 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.6699, allocations: 85 kB / 0.8659 GB, free: 1.789 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.67, allocations: 3.938 kB / 0.8659 GB, free: 1.785 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.6701, allocations: 15.94 kB / 0.8659 GB, free: 1.77 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.6701, allocations: 3.984 kB / 0.8659 GB, free: 1.766 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.6701, allocations: 0 / 0.8659 GB, free: 1.766 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.648e-05/0.6701, allocations: 83.28 kB / 0.866 GB, free: 1.684 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007689/0.6709, allocations: 7.906 kB / 0.866 GB, free: 1.676 MB / 0.5421 GB 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 7.15e-05/0.671, allocations: 99.72 kB / 0.8661 GB, free: 1.566 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 4.67e-05/0.671, allocations: 15.98 kB / 0.8661 GB, free: 1.551 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.671, allocations: 4.062 kB / 0.8661 GB, free: 1.547 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.6711, allocations: 8 kB / 0.8661 GB, free: 1.539 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.6712, allocations: 7.984 kB / 0.8661 GB, free: 1.535 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.6713, allocations: 59.86 kB / 0.8662 GB, free: 1.453 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6715, allocations: 0.6958 MB / 0.8669 GB, free: 0.7305 MB / 0.5421 GB Notification: Performance of SimCode: time 2.9e-07/0.6715, allocations: 0 / 0.8669 GB, free: 0.7305 MB / 0.5421 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)