Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00251/0.00251, allocations: 183.2 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.6429/0.6429, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.659/1.659, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009937/0.0009937, allocations: 98.84 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5153/0.5163, allocations: 88.42 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.7261, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6838/1.41, allocations: 112.8 MB / 0.7434 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/1.41, allocations: 80.66 kB / 0.7435 GB, free: 11 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01094/1.421, allocations: 3.564 MB / 0.747 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.421, allocations: 12.58 kB / 0.747 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/1.422, allocations: 34.84 kB / 0.747 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/1.422, allocations: 188.3 kB / 0.7472 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/1.422, allocations: 34.73 kB / 0.7473 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.422, allocations: 3.844 kB / 0.7473 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000191/1.422, allocations: 56.73 kB / 0.7473 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/1.423, allocations: 69.62 kB / 0.7474 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.423, allocations: 3.906 kB / 0.7474 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.423, allocations: 0 / 0.7474 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.423, allocations: 4.453 kB / 0.7474 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/1.423, allocations: 340.3 kB / 0.7477 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/1.424, allocations: 119.6 kB / 0.7478 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/1.424, allocations: 27 kB / 0.7479 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/1.424, allocations: 0.5156 kB / 0.7479 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.424, allocations: 34.41 kB / 0.7479 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.424, allocations: 0 / 0.7479 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.000274/1.424, allocations: 81.28 kB / 0.748 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.425, allocations: 56.06 kB / 0.748 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.425, allocations: 107.2 kB / 0.7481 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.425, allocations: 25.7 kB / 0.7481 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/1.425, allocations: 99.06 kB / 0.7482 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/1.425, allocations: 25.47 kB / 0.7483 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/1.425, allocations: 0 / 0.7483 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.425, allocations: 316.3 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/1.425, allocations: 18.28 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/1.425, allocations: 33.08 kB / 0.7486 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/1.425, allocations: 16.52 kB / 0.7486 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.425, allocations: 0 / 0.7486 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001692/1.425, allocations: 85.86 kB / 0.7487 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.425, allocations: 8.375 kB / 0.7487 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.425, allocations: 0 / 0.7487 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.425, allocations: 3.906 kB / 0.7487 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/1.426, allocations: 23.59 kB / 0.7487 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.426, allocations: 7.812 kB / 0.7488 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/1.426, allocations: 10.3 kB / 0.7488 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/1.426, allocations: 4 kB / 0.7488 GB, free: 25.06 MB / 0.5105 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 0.0001347/1.426, allocations: 109.5 kB / 0.7489 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/1.426, allocations: 7.656 kB / 0.7489 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/1.426, allocations: 20.09 kB / 0.7489 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.426, allocations: 3.906 kB / 0.7489 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.426, allocations: 0 / 0.7489 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.426, allocations: 0.6094 kB / 0.7489 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/1.426, allocations: 179.2 kB / 0.7491 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.426, allocations: 0 / 0.7491 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/1.426, allocations: 19.16 kB / 0.7491 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.426, allocations: 0 / 0.7491 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.426, allocations: 7.906 kB / 0.7491 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.426, allocations: 0 / 0.7491 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.426, allocations: 0.6562 kB / 0.7491 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/1.427, allocations: 168.2 kB / 0.7493 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003532/1.427, allocations: 0.5493 MB / 0.7498 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.427, allocations: 81.67 kB / 0.7499 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/1.427, allocations: 4.766 kB / 0.7499 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/1.427, allocations: 15.72 kB / 0.7499 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/1.427, allocations: 6.062 kB / 0.7499 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.427, allocations: 4.672 kB / 0.7499 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.025e-05/1.427, allocations: 99.47 kB / 0.75 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007714/1.428, allocations: 15.38 kB / 0.75 GB, free: 23.93 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 (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.0001364/1.428, allocations: 101.3 kB / 0.7501 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001264/1.428, allocations: 45.27 kB / 0.7502 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.428, allocations: 0 / 0.7502 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/1.428, allocations: 23.27 kB / 0.7502 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.429, allocations: 27.98 kB / 0.7502 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/1.429, allocations: 136.2 kB / 0.7503 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.43, allocations: 0.716 MB / 0.751 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.43, allocations: 3.938 kB / 0.751 GB, free: 23.04 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)