Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",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.914/1.914, allocations: 387.2 MB / 394.5 MB, free: 4.605 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 181.3 kB / 487 MB, free: 11.12 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.4 MB / 0.7819 GB, free: 3.984 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009334, allocations: 104.7 kB / 0.9213 GB, free: 5.078 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.4306/0.4315, allocations: 148.5 MB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.6516, allocations: 142.3 MB / 1.205 GB, free: 14.73 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6332/1.285, allocations: 155 MB / 1.357 GB, free: 13.23 MB / 0.8309 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.285, allocations: 87.95 kB / 1.357 GB, free: 13.14 MB / 0.8309 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.04565/1.331, allocations: 15.68 MB / 1.372 GB, free: 13.4 MB / 0.8466 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.331, allocations: 8 kB / 1.372 GB, free: 13.39 MB / 0.8466 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008385/1.332, allocations: 123.3 kB / 1.372 GB, free: 13.27 MB / 0.8466 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/1.332, allocations: 349.6 kB / 1.372 GB, free: 12.89 MB / 0.8466 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.332, allocations: 8 kB / 1.373 GB, free: 12.88 MB / 0.8466 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/1.332, allocations: 23.91 kB / 1.373 GB, free: 12.86 MB / 0.8466 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/1.333, allocations: 209.2 kB / 1.373 GB, free: 12.66 MB / 0.8466 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/1.333, allocations: 236.7 kB / 1.373 GB, free: 12.42 MB / 0.8466 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.333, allocations: 0 / 1.373 GB, free: 12.42 MB / 0.8466 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.333, allocations: 0 / 1.373 GB, free: 12.42 MB / 0.8466 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.333, allocations: 8 kB / 1.373 GB, free: 12.41 MB / 0.8466 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.335, allocations: 0.8182 MB / 1.374 GB, free: 11.55 MB / 0.8466 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/1.335, allocations: 207.5 kB / 1.374 GB, free: 11.34 MB / 0.8466 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/1.335, allocations: 88.84 kB / 1.374 GB, free: 11.25 MB / 0.8466 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/1.336, allocations: 89.47 kB / 1.374 GB, free: 11.14 MB / 0.8466 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.336, allocations: 34.67 kB / 1.374 GB, free: 11.1 MB / 0.8466 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/1.336, allocations: 7.938 kB / 1.374 GB, free: 11.09 MB / 0.8466 GB Notification: Performance of matching and sorting (n=25): time 0.0008783/1.336, allocations: 251.5 kB / 1.374 GB, free: 10.84 MB / 0.8466 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.336, allocations: 55.41 kB / 1.374 GB, free: 10.77 MB / 0.8466 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/1.337, allocations: 213.1 kB / 1.375 GB, free: 10.56 MB / 0.8466 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/1.337, allocations: 33.58 kB / 1.375 GB, free: 10.52 MB / 0.8466 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.337, allocations: 164.2 kB / 1.375 GB, free: 10.36 MB / 0.8466 GB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/1.337, allocations: 82.75 kB / 1.375 GB, free: 10.28 MB / 0.8466 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/1.337, allocations: 0 / 1.375 GB, free: 10.28 MB / 0.8466 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.337, allocations: 334.7 kB / 1.375 GB, free: 9.941 MB / 0.8466 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/1.337, allocations: 72.55 kB / 1.375 GB, free: 9.867 MB / 0.8466 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/1.337, allocations: 64.83 kB / 1.375 GB, free: 9.805 MB / 0.8466 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/1.338, allocations: 133.8 kB / 1.376 GB, free: 9.676 MB / 0.8466 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.338, allocations: 0 / 1.376 GB, free: 9.676 MB / 0.8466 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008533/1.339, allocations: 294.3 kB / 1.376 GB, free: 9.383 MB / 0.8466 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.339, allocations: 4 kB / 1.376 GB, free: 9.379 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.339, allocations: 0 / 1.376 GB, free: 9.379 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.339, allocations: 4 kB / 1.376 GB, free: 9.375 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/1.339, allocations: 79.88 kB / 1.376 GB, free: 9.297 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.339, allocations: 3.906 kB / 1.376 GB, free: 9.293 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/1.34, allocations: 31.81 kB / 1.376 GB, free: 9.262 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/1.34, allocations: 15.98 kB / 1.376 GB, free: 9.246 MB / 0.8466 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 (33): * Single equations (assignments): 33 * 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 9.704e-05/1.34, allocations: 112.8 kB / 1.376 GB, free: 9.129 MB / 0.8466 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.34, allocations: 23.72 kB / 1.376 GB, free: 9.105 MB / 0.8466 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/1.341, allocations: 335.2 kB / 1.376 GB, free: 8.766 MB / 0.8466 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.341, allocations: 0 / 1.376 GB, free: 8.766 MB / 0.8466 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.341, allocations: 4 kB / 1.376 GB, free: 8.762 MB / 0.8466 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.341, allocations: 4 kB / 1.376 GB, free: 8.758 MB / 0.8466 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/1.341, allocations: 298 kB / 1.377 GB, free: 8.43 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.341, allocations: 11.92 kB / 1.377 GB, free: 8.418 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/1.341, allocations: 55.95 kB / 1.377 GB, free: 8.363 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.341, allocations: 0 / 1.377 GB, free: 8.363 MB / 0.8466 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.341, allocations: 7.984 kB / 1.377 GB, free: 8.355 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.341, allocations: 4 kB / 1.377 GB, free: 8.352 MB / 0.8466 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.341, allocations: 0 / 1.377 GB, free: 8.352 MB / 0.8466 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005558/1.342, allocations: 247 kB / 1.377 GB, free: 8.094 MB / 0.8466 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006877/1.343, allocations: 0.612 MB / 1.378 GB, free: 7.461 MB / 0.8466 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.343, allocations: 144.6 kB / 1.378 GB, free: 7.301 MB / 0.8466 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/1.343, allocations: 4 kB / 1.378 GB, free: 7.297 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.343, allocations: 19.97 kB / 1.378 GB, free: 7.277 MB / 0.8466 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/1.343, allocations: 7.984 kB / 1.378 GB, free: 7.27 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/1.343, allocations: 7.984 kB / 1.378 GB, free: 7.262 MB / 0.8466 GB Notification: Performance of sort global known variables: time 0.0001423/1.343, allocations: 179.1 kB / 1.378 GB, free: 7.082 MB / 0.8466 GB Notification: Performance of remove unused functions: time 0.0009164/1.344, allocations: 111.6 kB / 1.378 GB, free: 6.973 MB / 0.8466 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 (21): * Single equations (assignments): 21 * 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.0002239/1.345, allocations: 138 kB / 1.378 GB, free: 6.832 MB / 0.8466 GB Notification: Performance of simCode: created initialization part: time 0.0003395/1.345, allocations: 171.8 kB / 1.378 GB, free: 6.664 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.345, allocations: 0 / 1.378 GB, free: 6.664 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.345, allocations: 83.91 kB / 1.378 GB, free: 6.582 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/1.345, allocations: 71.14 kB / 1.378 GB, free: 6.512 MB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.346, allocations: 366.9 kB / 1.379 GB, free: 6.129 MB / 0.8466 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.347, allocations: 0.829 MB / 1.38 GB, free: 5.273 MB / 0.8466 GB Notification: Performance of SimCode: time 2.51e-07/1.347, allocations: 0 / 1.38 GB, free: 5.273 MB / 0.8466 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat does not exist to compare? outputFormat=mat