Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_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/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 190.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5098/0.5098, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.454/1.454, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.001211/0.001211, allocations: 107.5 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2266/0.2278, allocations: 78.44 MB / 494 MB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.7139, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.8819, allocations: 127.3 MB / 0.6773 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.8823, allocations: 82.11 kB / 0.6774 GB, free: 14.59 MB / 0.4948 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.004326/0.8866, allocations: 1.663 MB / 0.679 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.8867, allocations: 8 kB / 0.679 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.8867, allocations: 4 kB / 0.6791 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.8869, allocations: 166.3 kB / 0.6792 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.8869, allocations: 29.69 kB / 0.6792 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.887, allocations: 8.438 kB / 0.6792 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.581e-05/0.887, allocations: 8.75 kB / 0.6793 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.661e-05/0.8871, allocations: 34.91 kB / 0.6793 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8871, allocations: 0 / 0.6793 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8871, allocations: 0 / 0.6793 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8872, allocations: 0 / 0.6793 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.8873, allocations: 137.5 kB / 0.6794 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.8874, allocations: 35.48 kB / 0.6795 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.8875, allocations: 5.453 kB / 0.6795 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.8876, allocations: 94.17 kB / 0.6795 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.8877, allocations: 35.38 kB / 0.6796 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8877, allocations: 0.9688 kB / 0.6796 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.8879, allocations: 41.69 kB / 0.6796 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.8879, allocations: 55.91 kB / 0.6797 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.888, allocations: 90.36 kB / 0.6798 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.888, allocations: 25.7 kB / 0.6798 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.8881, allocations: 84.14 kB / 0.6799 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.8881, allocations: 8.531 kB / 0.6799 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.8881, allocations: 3.938 kB / 0.6799 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8882, allocations: 316.4 kB / 0.6802 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.8883, allocations: 4 kB / 0.6802 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.8883, allocations: 4 kB / 0.6802 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.8883, allocations: 12.73 kB / 0.6802 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.8883, allocations: 0 / 0.6802 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.659e-05/0.8884, allocations: 42.72 kB / 0.6802 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8885, allocations: 6.031 kB / 0.6802 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8885, allocations: 0 / 0.6802 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.8885, allocations: 0.75 kB / 0.6802 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.8886, allocations: 8.484 kB / 0.6803 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.8886, allocations: 0 / 0.6803 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.8886, allocations: 4.688 kB / 0.6803 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.8887, allocations: 4.562 kB / 0.6803 GB, free: 11.51 MB / 0.4948 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 6.591e-05/0.8887, allocations: 106.5 kB / 0.6804 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.8887, allocations: 7.188 kB / 0.6804 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.8889, allocations: 55.41 kB / 0.6804 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8889, allocations: 4.562 kB / 0.6804 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8889, allocations: 0 / 0.6804 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8889, allocations: 4.406 kB / 0.6804 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.494e-05/0.889, allocations: 132.4 kB / 0.6806 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.889, allocations: 1.875 kB / 0.6806 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.8891, allocations: 4 kB / 0.6806 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8891, allocations: 0 / 0.6806 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8891, allocations: 0 / 0.6806 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.8891, allocations: 4.469 kB / 0.6806 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8891, allocations: 4.594 kB / 0.6806 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/0.8892, allocations: 82.44 kB / 0.6807 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002149/0.8895, allocations: 450.8 kB / 0.6811 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.8895, allocations: 85.78 kB / 0.6812 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.8896, allocations: 0 / 0.6812 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.8896, allocations: 0.5 kB / 0.6812 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.8896, allocations: 0.5 kB / 0.6812 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.8897, allocations: 8.625 kB / 0.6812 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.939e-05/0.8897, allocations: 83.27 kB / 0.6813 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008218/0.8905, allocations: 19.94 kB / 0.6813 GB, free: 10.38 MB / 0.4948 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.000238/0.8908, allocations: 148.1 kB / 0.6814 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.8909, allocations: 15.94 kB / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8909, allocations: 0 / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.8909, allocations: 4 kB / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.8911, allocations: 8 kB / 0.6814 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.8913, allocations: 55.92 kB / 0.6815 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.8917, allocations: 0.6876 MB / 0.6822 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.8917, allocations: 0 / 0.6822 GB, free: 9.41 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)