Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.7234/0.7234, allocations: 141.8 MB / 149.1 MB, free: 13.27 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.001205/0.001205, allocations: 181.9 kB / 181.9 MB, free: 9.934 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.32/1.32, allocations: 221.3 MB / 436 MB, free: 2.422 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.001001/0.001001, allocations: 93.17 kB / 0.507 GB, free: 17.61 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001809, allocations: 279.9 kB / 0.5884 GB, free: 3.93 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3429/0.3447, allocations: 89.64 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.485, allocations: 82.79 MB / 0.7568 GB, free: 83.37 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.5966, allocations: 110.1 MB / 0.8644 GB, free: 5.098 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.5969, allocations: 72.64 kB / 0.8644 GB, free: 5.027 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01045/0.6074, allocations: 3.572 MB / 0.8679 GB, free: 1.398 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6074, allocations: 12.94 kB / 0.8679 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.6076, allocations: 31.88 kB / 0.868 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.6078, allocations: 186.9 kB / 0.8681 GB, free: 1.133 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.6079, allocations: 29.7 kB / 0.8682 GB, free: 1.098 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.6079, allocations: 15.91 kB / 0.8682 GB, free: 1.082 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.6081, allocations: 51.98 kB / 0.8682 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.6082, allocations: 79.64 kB / 0.8683 GB, free: 0.9492 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6082, allocations: 0 / 0.8683 GB, free: 0.9492 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.6083, allocations: 0 / 0.8683 GB, free: 0.9492 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6083, allocations: 4 kB / 0.8683 GB, free: 0.9453 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.6088, allocations: 345 kB / 0.8686 GB, free: 0.5703 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.6093, allocations: 118.5 kB / 0.8688 GB, free: 456 kB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.6094, allocations: 24.86 kB / 0.8688 GB, free: 428 kB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.6094, allocations: 0 / 0.8688 GB, free: 428 kB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.6094, allocations: 38.56 kB / 0.8688 GB, free: 380 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6094, allocations: 0 / 0.8688 GB, free: 380 kB / 0.5419 GB Notification: Performance of matching and sorting (n=7): time 0.0001907/0.6096, allocations: 69.8 kB / 0.8689 GB, free: 304 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.6097, allocations: 55.34 kB / 0.8689 GB, free: 236 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.6097, allocations: 113.2 kB / 0.869 GB, free: 112 kB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6098, allocations: 25.7 kB / 0.8691 GB, free: 80 kB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.6098, allocations: 99.94 kB / 0.8692 GB, free: 15.98 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.6099, allocations: 15.66 kB / 0.8692 GB, free: 15.96 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6099, allocations: 4 kB / 0.8692 GB, free: 15.96 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.61, allocations: 322.8 kB / 0.8695 GB, free: 15.63 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.61, allocations: 16 kB / 0.8695 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.6101, allocations: 29.88 kB / 0.8695 GB, free: 15.58 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.6101, allocations: 20.2 kB / 0.8695 GB, free: 15.56 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6101, allocations: 0 / 0.8695 GB, free: 15.56 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001318/0.6103, allocations: 89.52 kB / 0.8696 GB, free: 15.47 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6103, allocations: 8.031 kB / 0.8696 GB, free: 15.46 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6103, allocations: 4 kB / 0.8696 GB, free: 15.46 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.6103, allocations: 0 / 0.8696 GB, free: 15.46 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6104, allocations: 19.98 kB / 0.8697 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6105, allocations: 3.938 kB / 0.8697 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.6106, allocations: 19.84 kB / 0.8697 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6106, allocations: 7.984 kB / 0.8697 GB, free: 15.41 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.086e-05/0.6106, allocations: 101 kB / 0.8698 GB, free: 15.3 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.6107, allocations: 7.906 kB / 0.8698 GB, free: 15.29 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.6107, allocations: 8.375 kB / 0.8698 GB, free: 15.29 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6107, allocations: 4 kB / 0.8698 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6107, allocations: 0 / 0.8698 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6107, allocations: 0 / 0.8698 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.6109, allocations: 174.1 kB / 0.87 GB, free: 15.07 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6109, allocations: 4 kB / 0.87 GB, free: 15.07 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.6111, allocations: 23.92 kB / 0.87 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6111, allocations: 0 / 0.87 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.6111, allocations: 3.938 kB / 0.87 GB, free: 15.04 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6111, allocations: 0 / 0.87 GB, free: 15.04 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6111, allocations: 0 / 0.87 GB, free: 15.04 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001676/0.6113, allocations: 179.3 kB / 0.8702 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002327/0.6115, allocations: 0.5428 MB / 0.8707 GB, free: 14.29 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.6116, allocations: 85.02 kB / 0.8708 GB, free: 14.19 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.6116, allocations: 0 / 0.8708 GB, free: 14.19 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6118, allocations: 23.98 kB / 0.8708 GB, free: 14.16 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.6118, allocations: 3.984 kB / 0.8708 GB, free: 14.16 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6118, allocations: 4 kB / 0.8708 GB, free: 14.16 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.803e-05/0.6119, allocations: 95.03 kB / 0.8709 GB, free: 14.07 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008578/0.6127, allocations: 23.84 kB / 0.8709 GB, free: 14.04 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 (7): * Single equations (assignments): 7 * 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.0001126/0.6129, allocations: 103.2 kB / 0.871 GB, free: 13.93 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.613, allocations: 48 kB / 0.8711 GB, free: 13.89 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.613, allocations: 3.938 kB / 0.8711 GB, free: 13.88 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.6131, allocations: 24 kB / 0.8711 GB, free: 13.86 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.6133, allocations: 15.98 kB / 0.8711 GB, free: 13.84 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.6137, allocations: 123.5 kB / 0.8712 GB, free: 13.7 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.614, allocations: 0.7232 MB / 0.8719 GB, free: 12.95 MB / 0.5575 GB Notification: Performance of SimCode: time 2.7e-07/0.614, allocations: 0 / 0.8719 GB, free: 12.95 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)