Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_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.002182/0.002183, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7659/0.7659, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 109 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4705/0.4716, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.6533, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6234/1.277, allocations: 137.1 MB / 0.7672 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.277, allocations: 79.33 kB / 0.7673 GB, free: 9.035 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.004179/1.281, allocations: 1.66 MB / 0.7689 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.281, allocations: 8 kB / 0.7689 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/1.281, allocations: 7.906 kB / 0.7689 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/1.282, allocations: 167 kB / 0.7691 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/1.282, allocations: 25.7 kB / 0.7691 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/1.282, allocations: 4.984 kB / 0.7691 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.622e-05/1.282, allocations: 7.625 kB / 0.7691 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/1.282, allocations: 41.59 kB / 0.7692 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.282, allocations: 0 / 0.7692 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/1.282, allocations: 0 / 0.7692 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.282, allocations: 0 / 0.7692 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/1.282, allocations: 129.9 kB / 0.7693 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/1.282, allocations: 29.77 kB / 0.7693 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/1.282, allocations: 9.984 kB / 0.7693 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/1.283, allocations: 94.86 kB / 0.7694 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.283, allocations: 37.98 kB / 0.7695 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.283, allocations: 0 / 0.7695 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002342/1.283, allocations: 45.62 kB / 0.7695 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.283, allocations: 55.41 kB / 0.7696 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/1.283, allocations: 88.44 kB / 0.7696 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/1.283, allocations: 25.7 kB / 0.7697 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/1.283, allocations: 84.14 kB / 0.7697 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.283, allocations: 7.906 kB / 0.7698 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.283, allocations: 0 / 0.7698 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.283, allocations: 321.9 kB / 0.7701 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/1.283, allocations: 4.75 kB / 0.7701 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/1.283, allocations: 0 / 0.7701 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.152e-05/1.283, allocations: 11.19 kB / 0.7701 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.283, allocations: 0 / 0.7701 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/1.283, allocations: 52.27 kB / 0.7701 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.283, allocations: 7.938 kB / 0.7701 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.283, allocations: 4 kB / 0.7701 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.283, allocations: 0 / 0.7701 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/1.284, allocations: 7.938 kB / 0.7701 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.284, allocations: 0 / 0.7701 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/1.284, allocations: 4 kB / 0.7701 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.284, allocations: 1.125 kB / 0.7701 GB, free: 22.35 MB / 0.5105 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 7.429e-05/1.284, allocations: 104.9 kB / 0.7702 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/1.284, allocations: 4 kB / 0.7703 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/1.284, allocations: 57.05 kB / 0.7703 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.284, allocations: 4 kB / 0.7703 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.284, allocations: 0 / 0.7703 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.284, allocations: 0 / 0.7703 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.217e-05/1.284, allocations: 137.6 kB / 0.7704 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.284, allocations: 0 / 0.7704 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/1.284, allocations: 4 kB / 0.7704 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.284, allocations: 0 / 0.7704 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/1.284, allocations: 7.047 kB / 0.7705 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.284, allocations: 0 / 0.7705 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.284, allocations: 4 kB / 0.7705 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001166/1.284, allocations: 76.03 kB / 0.7705 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002106/1.284, allocations: 451.9 kB / 0.771 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/1.284, allocations: 81.11 kB / 0.771 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/1.285, allocations: 0 / 0.771 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/1.285, allocations: 0 / 0.771 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/1.285, allocations: 11.7 kB / 0.771 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/1.285, allocations: 4 kB / 0.7711 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.908e-05/1.285, allocations: 79.27 kB / 0.7711 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007705/1.285, allocations: 15.84 kB / 0.7711 GB, free: 21.24 MB / 0.5105 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.0002402/1.286, allocations: 146.8 kB / 0.7713 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/1.286, allocations: 15.25 kB / 0.7713 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.286, allocations: 0 / 0.7713 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/1.286, allocations: 8 kB / 0.7713 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/1.286, allocations: 7.984 kB / 0.7713 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/1.286, allocations: 59.23 kB / 0.7714 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.287, allocations: 0.6932 MB / 0.772 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/1.287, allocations: 0 / 0.772 GB, free: 20.28 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)