Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 192.7 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4919/0.4919, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.449/1.449, allocations: 221.4 MB / 342.7 MB, free: 5.27 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.001009/0.001009, allocations: 98.95 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.1792, allocations: 78.45 MB / 493.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.5601, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.7216, allocations: 127.9 MB / 0.6779 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/0.722, allocations: 71.97 kB / 0.678 GB, free: 13.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007307/0.7294, allocations: 2.271 MB / 0.6802 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7294, allocations: 8 kB / 0.6802 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.7295, allocations: 8.406 kB / 0.6802 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.7297, allocations: 163.1 kB / 0.6803 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7297, allocations: 4.688 kB / 0.6803 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.7297, allocations: 6.969 kB / 0.6804 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.7299, allocations: 20 kB / 0.6804 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.73, allocations: 54.33 kB / 0.6804 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.73, allocations: 0.5312 kB / 0.6804 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.73, allocations: 0 / 0.6804 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.73, allocations: 4.422 kB / 0.6804 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.7306, allocations: 253.4 kB / 0.6807 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.7307, allocations: 38.56 kB / 0.6807 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.7307, allocations: 16.84 kB / 0.6807 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.731, allocations: 85.2 kB / 0.6808 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.731, allocations: 48.36 kB / 0.6809 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.731, allocations: 0 / 0.6809 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002933/0.7313, allocations: 53.59 kB / 0.6809 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7314, allocations: 51.41 kB / 0.681 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.7315, allocations: 101 kB / 0.681 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.7315, allocations: 25.7 kB / 0.6811 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.7316, allocations: 95.34 kB / 0.6812 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.7316, allocations: 11.91 kB / 0.6812 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.7316, allocations: 0 / 0.6812 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7318, allocations: 314.8 kB / 0.6815 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.7318, allocations: 8 kB / 0.6815 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.7319, allocations: 12 kB / 0.6815 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.04e-05/0.7319, allocations: 7.984 kB / 0.6815 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7319, allocations: 3.938 kB / 0.6815 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001393/0.7321, allocations: 57.59 kB / 0.6816 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.7321, allocations: 8 kB / 0.6816 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7321, allocations: 0 / 0.6816 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.7322, allocations: 7.984 kB / 0.6816 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7323, allocations: 19.98 kB / 0.6816 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7323, allocations: 1.016 kB / 0.6816 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.7325, allocations: 19.98 kB / 0.6816 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7325, allocations: 4 kB / 0.6816 GB, free: 10.06 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 8.373e-05/0.7326, allocations: 104.9 kB / 0.6817 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.7326, allocations: 0 / 0.6817 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.7328, allocations: 69.52 kB / 0.6818 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7328, allocations: 8 kB / 0.6818 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7328, allocations: 0 / 0.6818 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.7328, allocations: 3.984 kB / 0.6818 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.733, allocations: 146.2 kB / 0.6819 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.733, allocations: 3.938 kB / 0.6819 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.7332, allocations: 21.3 kB / 0.682 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7332, allocations: 4 kB / 0.682 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.7332, allocations: 0 / 0.682 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7332, allocations: 5.391 kB / 0.682 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7332, allocations: 4 kB / 0.682 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001954/0.7334, allocations: 151.4 kB / 0.6821 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004029/0.7338, allocations: 0.5271 MB / 0.6826 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.7339, allocations: 81.09 kB / 0.6827 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.7339, allocations: 336 / 0.6827 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.7341, allocations: 15.98 kB / 0.6827 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.7341, allocations: 9.375 kB / 0.6827 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.7342, allocations: 3.984 kB / 0.6827 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.192e-05/0.7342, allocations: 94 kB / 0.6828 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000877/0.7351, allocations: 15.94 kB / 0.6828 GB, free: 8.699 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.0002647/0.7354, allocations: 139.3 kB / 0.683 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.7355, allocations: 19.98 kB / 0.683 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7355, allocations: 0 / 0.683 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.7356, allocations: 15.94 kB / 0.683 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.7358, allocations: 15.98 kB / 0.683 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.7361, allocations: 83.61 kB / 0.6831 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.7365, allocations: 0.6954 MB / 0.6838 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.7365, allocations: 0 / 0.6838 GB, free: 7.68 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)