Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_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.7471/0.7471, allocations: 141.8 MB / 149.1 MB, free: 4.492 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 182.9 kB / 182 MB, free: 176 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 436 MB, free: 9.32 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.001006/0.001006, allocations: 91.19 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 277.6 kB / 0.5884 GB, free: 12.36 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1649/0.1667, allocations: 89.64 MB / 0.676 GB, free: 2.637 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.5036, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.6381, allocations: 135 MB / 0.8887 GB, free: 9.695 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6385, allocations: 75.94 kB / 0.8887 GB, free: 9.625 MB / 0.5575 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.006155/0.6447, allocations: 2.267 MB / 0.891 GB, free: 7.352 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.6447, allocations: 13 kB / 0.891 GB, free: 7.34 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.6448, allocations: 11.84 kB / 0.891 GB, free: 7.328 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6449, allocations: 171 kB / 0.8911 GB, free: 7.121 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6449, allocations: 0 / 0.8911 GB, free: 7.121 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.6449, allocations: 4 kB / 0.8911 GB, free: 7.117 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.78e-05/0.6451, allocations: 20 kB / 0.8912 GB, free: 7.098 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.6451, allocations: 49.69 kB / 0.8912 GB, free: 7.043 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.6452, allocations: 0 / 0.8912 GB, free: 7.043 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6452, allocations: 0 / 0.8912 GB, free: 7.043 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.6452, allocations: 0 / 0.8912 GB, free: 7.043 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.6455, allocations: 265.2 kB / 0.8915 GB, free: 6.746 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.6456, allocations: 30.58 kB / 0.8915 GB, free: 6.707 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.6457, allocations: 16.86 kB / 0.8915 GB, free: 6.688 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.6458, allocations: 89.19 kB / 0.8916 GB, free: 6.582 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6459, allocations: 30.56 kB / 0.8916 GB, free: 6.543 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6459, allocations: 5.5 kB / 0.8916 GB, free: 6.539 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0002125/0.6461, allocations: 57.53 kB / 0.8917 GB, free: 6.477 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6461, allocations: 51.41 kB / 0.8917 GB, free: 6.414 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.6462, allocations: 109 kB / 0.8918 GB, free: 6.301 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.6462, allocations: 25.7 kB / 0.8919 GB, free: 6.27 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.6463, allocations: 88.08 kB / 0.8919 GB, free: 6.18 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.6463, allocations: 9.5 kB / 0.892 GB, free: 6.172 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.6463, allocations: 0 / 0.892 GB, free: 6.172 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.6464, allocations: 322.7 kB / 0.8923 GB, free: 5.848 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.6464, allocations: 4 kB / 0.8923 GB, free: 5.844 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.6464, allocations: 8 kB / 0.8923 GB, free: 5.836 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.6465, allocations: 15.98 kB / 0.8923 GB, free: 5.82 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6465, allocations: 4 kB / 0.8923 GB, free: 5.816 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/0.6466, allocations: 53.62 kB / 0.8923 GB, free: 5.758 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.6466, allocations: 4 kB / 0.8923 GB, free: 5.754 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6467, allocations: 0 / 0.8923 GB, free: 5.754 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6467, allocations: 7.906 kB / 0.8924 GB, free: 5.746 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6468, allocations: 27.98 kB / 0.8924 GB, free: 5.719 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.6468, allocations: 3.938 kB / 0.8924 GB, free: 5.715 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.6469, allocations: 19.97 kB / 0.8924 GB, free: 5.695 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.647, allocations: 7.125 kB / 0.8924 GB, free: 5.691 MB / 0.5575 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.804e-05/0.647, allocations: 109 kB / 0.8925 GB, free: 5.578 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.6471, allocations: 3.906 kB / 0.8925 GB, free: 5.574 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.6472, allocations: 62.42 kB / 0.8926 GB, free: 5.504 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6472, allocations: 0 / 0.8926 GB, free: 5.504 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.6472, allocations: 0 / 0.8926 GB, free: 5.504 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.6472, allocations: 4 kB / 0.8926 GB, free: 5.5 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.6474, allocations: 150.1 kB / 0.8927 GB, free: 5.316 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6474, allocations: 0 / 0.8927 GB, free: 5.316 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.6475, allocations: 32.14 kB / 0.8928 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6475, allocations: 0 / 0.8928 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.6475, allocations: 0.6562 kB / 0.8928 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6475, allocations: 0 / 0.8928 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6475, allocations: 0 / 0.8928 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001505/0.6477, allocations: 159.4 kB / 0.8929 GB, free: 5.113 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002505/0.648, allocations: 0.5155 MB / 0.8934 GB, free: 4.578 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.648, allocations: 88.95 kB / 0.8935 GB, free: 4.473 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.648, allocations: 0 / 0.8935 GB, free: 4.473 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.6482, allocations: 21.11 kB / 0.8935 GB, free: 4.453 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.6482, allocations: 11.98 kB / 0.8935 GB, free: 4.441 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6482, allocations: 0 / 0.8935 GB, free: 4.441 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.101e-05/0.6483, allocations: 84.12 kB / 0.8936 GB, free: 4.359 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008047/0.6491, allocations: 23.92 kB / 0.8936 GB, free: 4.336 MB / 0.5575 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.0001915/0.6493, allocations: 131.3 kB / 0.8938 GB, free: 4.199 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.6494, allocations: 27.98 kB / 0.8938 GB, free: 4.172 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6494, allocations: 0 / 0.8938 GB, free: 4.172 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.6494, allocations: 15.94 kB / 0.8938 GB, free: 4.156 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.6496, allocations: 10.34 kB / 0.8938 GB, free: 4.148 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.6499, allocations: 83.75 kB / 0.8939 GB, free: 4.043 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.6502, allocations: 0.6993 MB / 0.8946 GB, free: 3.32 MB / 0.5575 GB Notification: Performance of SimCode: time 2.91e-07/0.6502, allocations: 4 kB / 0.8946 GB, free: 3.316 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)