Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",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.7261/0.7261, allocations: 141.8 MB / 149.1 MB, free: 12.01 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 185.4 kB / 181.9 MB, free: 8.766 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 436 MB, free: 1.008 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009605, allocations: 92.42 kB / 0.507 GB, free: 9.977 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 277.8 kB / 0.5884 GB, free: 6.797 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3863/0.3881, allocations: 89.63 MB / 0.676 GB, free: 168 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.5317, allocations: 82.78 MB / 0.7568 GB, free: 117.2 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.6473, allocations: 109.8 MB / 0.8641 GB, free: 7.246 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.6475, allocations: 70.53 kB / 0.8641 GB, free: 7.18 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007664/0.6552, allocations: 2.662 MB / 0.8667 GB, free: 4.461 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6552, allocations: 8 kB / 0.8667 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.6553, allocations: 7.906 kB / 0.8667 GB, free: 4.445 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.6554, allocations: 182.8 kB / 0.8669 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6554, allocations: 0 / 0.8669 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.6555, allocations: 4 kB / 0.8669 GB, free: 4.223 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.423e-05/0.6556, allocations: 24 kB / 0.8669 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.644e-05/0.6557, allocations: 45.62 kB / 0.867 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6557, allocations: 0 / 0.867 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6557, allocations: 0 / 0.867 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6557, allocations: 4 kB / 0.867 GB, free: 4.145 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.656, allocations: 261.2 kB / 0.8672 GB, free: 3.852 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.6561, allocations: 30.58 kB / 0.8673 GB, free: 3.812 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.6561, allocations: 16.86 kB / 0.8673 GB, free: 3.793 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.6563, allocations: 89.19 kB / 0.8674 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.6563, allocations: 30.56 kB / 0.8674 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6563, allocations: 0 / 0.8674 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0003733/0.6567, allocations: 85.55 kB / 0.8675 GB, free: 3.559 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.6568, allocations: 55.41 kB / 0.8675 GB, free: 3.492 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.6569, allocations: 104.9 kB / 0.8676 GB, free: 3.383 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.6569, allocations: 25.7 kB / 0.8677 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.6569, allocations: 84.14 kB / 0.8677 GB, free: 3.266 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6569, allocations: 11.84 kB / 0.8678 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.6569, allocations: 0 / 0.8678 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.657, allocations: 318.7 kB / 0.8681 GB, free: 2.934 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.657, allocations: 12 kB / 0.8681 GB, free: 2.922 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.6571, allocations: 12.38 kB / 0.8681 GB, free: 2.91 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.6573, allocations: 31.95 kB / 0.8681 GB, free: 2.879 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6573, allocations: 0 / 0.8681 GB, free: 2.879 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000262/0.6576, allocations: 81.64 kB / 0.8682 GB, free: 2.793 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6576, allocations: 7.938 kB / 0.8682 GB, free: 2.785 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6576, allocations: 4 kB / 0.8682 GB, free: 2.781 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6576, allocations: 3.906 kB / 0.8682 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6578, allocations: 23.98 kB / 0.8682 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.6578, allocations: 7.922 kB / 0.8682 GB, free: 2.746 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.6579, allocations: 19.98 kB / 0.8683 GB, free: 2.727 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6579, allocations: 4.188 kB / 0.8683 GB, free: 2.723 MB / 0.5419 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 (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 prepare postOptimizeDAE: time 5.552e-05/0.658, allocations: 101 kB / 0.8684 GB, free: 2.617 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.658, allocations: 3.906 kB / 0.8684 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.6583, allocations: 97.59 kB / 0.8685 GB, free: 2.508 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6583, allocations: 0 / 0.8685 GB, free: 2.508 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6583, allocations: 0 / 0.8685 GB, free: 2.508 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6583, allocations: 3.938 kB / 0.8685 GB, free: 2.504 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.6585, allocations: 150.1 kB / 0.8686 GB, free: 2.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6585, allocations: 8 kB / 0.8686 GB, free: 2.312 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6586, allocations: 19.98 kB / 0.8686 GB, free: 2.293 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.6586, allocations: 3.984 kB / 0.8686 GB, free: 2.289 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.6586, allocations: 0 / 0.8686 GB, free: 2.289 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6586, allocations: 0 / 0.8686 GB, free: 2.289 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6586, allocations: 8 kB / 0.8686 GB, free: 2.281 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002763/0.6589, allocations: 179.3 kB / 0.8688 GB, free: 2.09 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003104/0.6592, allocations: 0.5428 MB / 0.8693 GB, free: 1.527 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.6593, allocations: 81.02 kB / 0.8694 GB, free: 1.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.6593, allocations: 4 kB / 0.8694 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.6594, allocations: 19.98 kB / 0.8694 GB, free: 1.406 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.6595, allocations: 3.984 kB / 0.8694 GB, free: 1.402 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.6595, allocations: 0 / 0.8694 GB, free: 1.402 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.807e-05/0.6595, allocations: 87.28 kB / 0.8695 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008251/0.6603, allocations: 47.86 kB / 0.8696 GB, free: 1.27 MB / 0.5419 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 0.0002074/0.6606, allocations: 135.2 kB / 0.8697 GB, free: 1.129 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.904e-05/0.6607, allocations: 23.98 kB / 0.8697 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6607, allocations: 0 / 0.8697 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.6607, allocations: 12 kB / 0.8697 GB, free: 1.094 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.6609, allocations: 12.12 kB / 0.8697 GB, free: 1.082 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.6612, allocations: 83.7 kB / 0.8698 GB, free: 0.9766 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6613, allocations: 0.6954 MB / 0.8705 GB, free: 264 kB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.6613, allocations: 4 kB / 0.8705 GB, free: 260 kB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)