Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.878/1.878, allocations: 387.2 MB / 394.5 MB, free: 4.406 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 177.3 kB / 487 MB, free: 10.95 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 0.7819 GB, free: 3.879 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009115, allocations: 96.62 kB / 0.9213 GB, free: 4.969 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.4319/0.4329, allocations: 148.5 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.6465, allocations: 142.3 MB / 1.205 GB, free: 14.56 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6118/1.258, allocations: 175.1 MB / 1.376 GB, free: 8.801 MB / 0.8464 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.259, allocations: 83.94 kB / 1.376 GB, free: 8.719 MB / 0.8464 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.003783/1.262, allocations: 1.656 MB / 1.378 GB, free: 7.027 MB / 0.8464 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/1.262, allocations: 8 kB / 1.378 GB, free: 7.02 MB / 0.8464 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/1.262, allocations: 7.906 kB / 1.378 GB, free: 7.012 MB / 0.8464 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.263, allocations: 163 kB / 1.378 GB, free: 6.812 MB / 0.8464 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/1.263, allocations: 29.69 kB / 1.378 GB, free: 6.777 MB / 0.8464 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/1.263, allocations: 4 kB / 1.378 GB, free: 6.773 MB / 0.8464 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.77e-05/1.263, allocations: 8.125 kB / 1.378 GB, free: 6.766 MB / 0.8464 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.554e-05/1.263, allocations: 33.7 kB / 1.378 GB, free: 6.727 MB / 0.8464 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/1.263, allocations: 0 / 1.378 GB, free: 6.727 MB / 0.8464 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/1.263, allocations: 0 / 1.378 GB, free: 6.727 MB / 0.8464 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.263, allocations: 7.906 kB / 1.378 GB, free: 6.719 MB / 0.8464 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/1.263, allocations: 139.1 kB / 1.378 GB, free: 6.547 MB / 0.8464 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/1.263, allocations: 18.58 kB / 1.378 GB, free: 6.52 MB / 0.8464 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/1.263, allocations: 13.8 kB / 1.378 GB, free: 6.504 MB / 0.8464 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/1.263, allocations: 93.23 kB / 1.378 GB, free: 6.395 MB / 0.8464 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/1.263, allocations: 34.56 kB / 1.378 GB, free: 6.352 MB / 0.8464 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.263, allocations: 0 / 1.378 GB, free: 6.352 MB / 0.8464 GB Notification: Performance of matching and sorting (n=3): time 0.0001592/1.263, allocations: 49.53 kB / 1.379 GB, free: 6.297 MB / 0.8464 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/1.263, allocations: 59.39 kB / 1.379 GB, free: 6.227 MB / 0.8464 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/1.263, allocations: 89.03 kB / 1.379 GB, free: 6.133 MB / 0.8464 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/1.264, allocations: 25.7 kB / 1.379 GB, free: 6.102 MB / 0.8464 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/1.264, allocations: 80.14 kB / 1.379 GB, free: 6.02 MB / 0.8464 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/1.264, allocations: 11.91 kB / 1.379 GB, free: 6.008 MB / 0.8464 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.264, allocations: 3.938 kB / 1.379 GB, free: 6.004 MB / 0.8464 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/1.264, allocations: 314.8 kB / 1.379 GB, free: 5.688 MB / 0.8464 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/1.264, allocations: 4 kB / 1.379 GB, free: 5.684 MB / 0.8464 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/1.264, allocations: 0 / 1.379 GB, free: 5.684 MB / 0.8464 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/1.264, allocations: 15.98 kB / 1.379 GB, free: 5.668 MB / 0.8464 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.264, allocations: 0 / 1.379 GB, free: 5.668 MB / 0.8464 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.579e-05/1.264, allocations: 41.59 kB / 1.379 GB, free: 5.621 MB / 0.8464 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.264, allocations: 8 kB / 1.379 GB, free: 5.613 MB / 0.8464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/1.264, allocations: 5.469 kB / 1.379 GB, free: 5.609 MB / 0.8464 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/1.264, allocations: 3.984 kB / 1.379 GB, free: 5.605 MB / 0.8464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/1.264, allocations: 8 kB / 1.379 GB, free: 5.598 MB / 0.8464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/1.264, allocations: 0 / 1.379 GB, free: 5.598 MB / 0.8464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/1.264, allocations: 7.938 kB / 1.379 GB, free: 5.594 MB / 0.8464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.264, allocations: 0 / 1.379 GB, free: 5.594 MB / 0.8464 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 5.184e-05/1.264, allocations: 101 kB / 1.379 GB, free: 5.488 MB / 0.8464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/1.264, allocations: 7.906 kB / 1.379 GB, free: 5.48 MB / 0.8464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/1.264, allocations: 49.36 kB / 1.379 GB, free: 5.422 MB / 0.8464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.264, allocations: 4 kB / 1.379 GB, free: 5.418 MB / 0.8464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.264, allocations: 0 / 1.379 GB, free: 5.418 MB / 0.8464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.264, allocations: 4 kB / 1.379 GB, free: 5.414 MB / 0.8464 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.989e-05/1.264, allocations: 138.1 kB / 1.379 GB, free: 5.242 MB / 0.8464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.264, allocations: 0 / 1.379 GB, free: 5.242 MB / 0.8464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/1.264, allocations: 9.141 kB / 1.379 GB, free: 5.234 MB / 0.8464 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.264, allocations: 0 / 1.379 GB, free: 5.234 MB / 0.8464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/1.264, allocations: 0 / 1.379 GB, free: 5.234 MB / 0.8464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.264, allocations: 0 / 1.379 GB, free: 5.234 MB / 0.8464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.264, allocations: 4 kB / 1.379 GB, free: 5.23 MB / 0.8464 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.862e-05/1.265, allocations: 77.02 kB / 1.38 GB, free: 5.137 MB / 0.8464 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002071/1.265, allocations: 445.5 kB / 1.38 GB, free: 4.68 MB / 0.8464 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/1.265, allocations: 89 kB / 1.38 GB, free: 4.574 MB / 0.8464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/1.265, allocations: 0 / 1.38 GB, free: 4.574 MB / 0.8464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/1.265, allocations: 0 / 1.38 GB, free: 4.574 MB / 0.8464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/1.265, allocations: 3.938 kB / 1.38 GB, free: 4.57 MB / 0.8464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/1.265, allocations: 11.92 kB / 1.38 GB, free: 4.559 MB / 0.8464 GB Notification: Performance of sort global known variables: time 2.664e-05/1.265, allocations: 79.75 kB / 1.38 GB, free: 4.48 MB / 0.8464 GB Notification: Performance of remove unused functions: time 0.0007311/1.266, allocations: 15.94 kB / 1.38 GB, free: 4.465 MB / 0.8464 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.0001793/1.266, allocations: 140.6 kB / 1.38 GB, free: 4.32 MB / 0.8464 GB Notification: Performance of simCode: created initialization part: time 5.666e-05/1.266, allocations: 12.14 kB / 1.38 GB, free: 4.309 MB / 0.8464 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/1.266, allocations: 0 / 1.38 GB, free: 4.309 MB / 0.8464 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/1.266, allocations: 8.094 kB / 1.38 GB, free: 4.301 MB / 0.8464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/1.266, allocations: 11.83 kB / 1.38 GB, free: 4.289 MB / 0.8464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/1.266, allocations: 59.97 kB / 1.38 GB, free: 4.207 MB / 0.8464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/1.267, allocations: 0.6876 MB / 1.381 GB, free: 3.496 MB / 0.8464 GB Notification: Performance of SimCode: time 2.61e-07/1.267, allocations: 0 / 1.381 GB, free: 3.496 MB / 0.8464 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat