Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_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.002639/0.002639, allocations: 178.5 kB / 7.457 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7145/0.7145, 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.746/1.746, allocations: 221.3 MB / 395 MB, free: 10.23 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.001047/0.001047, allocations: 87.23 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5277/0.5288, allocations: 88.43 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.7529, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7123/1.465, allocations: 137.7 MB / 0.7678 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.466, allocations: 77.42 kB / 0.7678 GB, free: 9.086 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.006339/1.472, allocations: 2.261 MB / 0.77 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/1.472, allocations: 8 kB / 0.7701 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/1.472, allocations: 11.89 kB / 0.7701 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/1.472, allocations: 159.1 kB / 0.7702 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.472, allocations: 4.75 kB / 0.7702 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.472, allocations: 1.859 kB / 0.7702 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/1.473, allocations: 20.81 kB / 0.7702 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/1.473, allocations: 54.73 kB / 0.7703 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.473, allocations: 3.938 kB / 0.7703 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.473, allocations: 0 / 0.7703 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.473, allocations: 0 / 0.7703 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/1.473, allocations: 259.9 kB / 0.7705 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/1.473, allocations: 30.14 kB / 0.7706 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/1.473, allocations: 19.53 kB / 0.7706 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.473, allocations: 97.19 kB / 0.7707 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.474, allocations: 34.5 kB / 0.7707 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.474, allocations: 0 / 0.7707 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002686/1.474, allocations: 55.97 kB / 0.7708 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.474, allocations: 51.41 kB / 0.7708 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/1.474, allocations: 96.12 kB / 0.7709 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.474, allocations: 29.69 kB / 0.7709 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/1.474, allocations: 96.73 kB / 0.771 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/1.474, allocations: 7.906 kB / 0.771 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.474, allocations: 0 / 0.771 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.474, allocations: 318.7 kB / 0.7713 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/1.474, allocations: 7.062 kB / 0.7714 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/1.474, allocations: 11.44 kB / 0.7714 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/1.474, allocations: 4 kB / 0.7714 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.474, allocations: 0 / 0.7714 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/1.474, allocations: 68.14 kB / 0.7714 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.474, allocations: 8 kB / 0.7714 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.474, allocations: 4 kB / 0.7714 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.475, allocations: 2.438 kB / 0.7714 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.475, allocations: 19.98 kB / 0.7715 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/1.475, allocations: 0 / 0.7715 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/1.475, allocations: 27.11 kB / 0.7715 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.475, allocations: 0 / 0.7715 GB, free: 21.61 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.249e-05/1.475, allocations: 104.9 kB / 0.7716 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/1.475, allocations: 7.984 kB / 0.7716 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/1.475, allocations: 68.92 kB / 0.7717 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.475, allocations: 0 / 0.7717 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.475, allocations: 3.906 kB / 0.7717 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.475, allocations: 0 / 0.7717 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.475, allocations: 145.2 kB / 0.7718 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.475, allocations: 384 / 0.7718 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.475, allocations: 23.98 kB / 0.7718 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.475, allocations: 3.984 kB / 0.7718 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.475, allocations: 0 / 0.7718 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.475, allocations: 7.938 kB / 0.7718 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.475, allocations: 0 / 0.7718 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001566/1.476, allocations: 150 kB / 0.772 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002526/1.476, allocations: 0.5287 MB / 0.7725 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/1.476, allocations: 81.84 kB / 0.7726 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.476, allocations: 0 / 0.7726 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/1.476, allocations: 15.98 kB / 0.7726 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.476, allocations: 11.98 kB / 0.7726 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/1.476, allocations: 4 kB / 0.7726 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.251e-05/1.476, allocations: 86.53 kB / 0.7727 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007771/1.477, allocations: 22.66 kB / 0.7727 GB, free: 20.29 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.0002791/1.477, allocations: 141.1 kB / 0.7728 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001168/1.477, allocations: 18.75 kB / 0.7729 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.477, allocations: 0 / 0.7729 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/1.477, allocations: 23.42 kB / 0.7729 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.478, allocations: 7.812 kB / 0.7729 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/1.478, allocations: 79.27 kB / 0.773 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/1.478, allocations: 0.7036 MB / 0.7737 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/1.478, allocations: 0 / 0.7737 GB, free: 19.29 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)