Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.825/1.825, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.5 kB / 490.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 91.34 kB / 0.9264 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2178/0.2187, allocations: 149.1 MB / 1.072 GB, free: 15.41 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.7003, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.8567, allocations: 175.9 MB / 1.383 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.8569, allocations: 80.44 kB / 1.383 GB, free: 15.55 MB / 0.8855 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.003126/0.86, allocations: 1.661 MB / 1.385 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.8601, allocations: 9 kB / 1.385 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.8601, allocations: 192 / 1.385 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.655e-05/0.8602, allocations: 174.9 kB / 1.385 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.8602, allocations: 32 kB / 1.385 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.8602, allocations: 4.781 kB / 1.385 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.129e-05/0.8603, allocations: 8 kB / 1.385 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.41e-05/0.8603, allocations: 30.48 kB / 1.385 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.8604, allocations: 0 / 1.385 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.8604, allocations: 2.5 kB / 1.385 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.8604, allocations: 0 / 1.385 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.659e-05/0.8605, allocations: 138.1 kB / 1.385 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/0.8605, allocations: 22.52 kB / 1.386 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.8605, allocations: 13.36 kB / 1.386 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.8607, allocations: 94.52 kB / 1.386 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.8607, allocations: 35.12 kB / 1.386 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8607, allocations: 0.875 kB / 1.386 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.8609, allocations: 41.69 kB / 1.386 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.383e-05/0.8609, allocations: 60.3 kB / 1.386 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.653e-05/0.8609, allocations: 85.72 kB / 1.386 GB, free: 13 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.8609, allocations: 29.27 kB / 1.386 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.861, allocations: 80.92 kB / 1.386 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.861, allocations: 15.81 kB / 1.386 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.861, allocations: 1.156 kB / 1.386 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.861, allocations: 310.8 kB / 1.386 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.861, allocations: 4.594 kB / 1.386 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-06/0.8611, allocations: 4.438 kB / 1.386 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.8611, allocations: 11.98 kB / 1.386 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.8611, allocations: 4.5 kB / 1.386 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.403e-05/0.8612, allocations: 38.61 kB / 1.386 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.8612, allocations: 8.688 kB / 1.386 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.8612, allocations: 0 / 1.386 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.8612, allocations: 8.547 kB / 1.386 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.8613, allocations: 4 kB / 1.386 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.8613, allocations: 0.5625 kB / 1.386 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.8613, allocations: 4.906 kB / 1.386 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.8614, allocations: 2.359 kB / 1.386 GB, free: 12.47 MB / 0.8855 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 3.369e-05/0.8614, allocations: 105.6 kB / 1.386 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.8614, allocations: 8.641 kB / 1.386 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.8615, allocations: 61.36 kB / 1.386 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8615, allocations: 4 kB / 1.386 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8615, allocations: 0.6562 kB / 1.386 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8615, allocations: 0 / 1.386 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.682e-05/0.8616, allocations: 130.7 kB / 1.387 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8616, allocations: 1.219 kB / 1.387 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.8617, allocations: 4 kB / 1.387 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8617, allocations: 3.906 kB / 1.387 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.8617, allocations: 1.25 kB / 1.387 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8617, allocations: 0 / 1.387 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8617, allocations: 0 / 1.387 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.548e-05/0.8618, allocations: 78.64 kB / 1.387 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001103/0.8619, allocations: 455 kB / 1.387 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.8619, allocations: 85 kB / 1.387 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.862, allocations: 4.812 kB / 1.387 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.862, allocations: 0 / 1.387 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.862, allocations: 3.219 kB / 1.387 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.862, allocations: 7.984 kB / 1.387 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.342e-05/0.8621, allocations: 75.94 kB / 1.387 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008191/0.8629, allocations: 19.31 kB / 1.387 GB, free: 11.35 MB / 0.8855 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.0001402/0.863, allocations: 140.3 kB / 1.387 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.239e-05/0.8631, allocations: 12.56 kB / 1.387 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.8631, allocations: 4.656 kB / 1.387 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.8631, allocations: 4 kB / 1.387 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.8632, allocations: 13.58 kB / 1.387 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/0.8634, allocations: 51.94 kB / 1.388 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.8635, allocations: 0.6895 MB / 1.388 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.8635, allocations: 0 / 1.388 GB, free: 10.39 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat