Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.791/1.791, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 185.2 kB / 487 MB, free: 5.379 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.0008091, allocations: 101 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4068/0.4077, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.5837, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.02/3.603, allocations: 1.913 GB / 3.119 GB, free: 392.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/3.604, allocations: 87.95 kB / 3.119 GB, free: 392.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.2857/3.889, allocations: 168.4 MB / 3.283 GB, free: 220.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/3.889, allocations: 11.94 kB / 3.283 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009395/3.89, allocations: 147.3 kB / 3.283 GB, free: 220.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/3.891, allocations: 419.2 kB / 3.284 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/3.891, allocations: 8 kB / 3.284 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/3.891, allocations: 20 kB / 3.284 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002826/3.891, allocations: 180.9 kB / 3.284 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/3.891, allocations: 233.8 kB / 3.284 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/3.892, allocations: 3.984 kB / 3.284 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/3.892, allocations: 4 kB / 3.284 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/3.892, allocations: 12.5 kB / 3.284 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/3.893, allocations: 1.273 MB / 3.285 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/3.893, allocations: 187 kB / 3.286 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/3.893, allocations: 84.84 kB / 3.286 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/3.893, allocations: 4 kB / 3.286 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/3.893, allocations: 34.89 kB / 3.286 GB, free: 217.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/3.893, allocations: 4 kB / 3.286 GB, free: 217.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005804/3.894, allocations: 228.8 kB / 3.286 GB, free: 217.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.42e-05/3.894, allocations: 55.41 kB / 3.286 GB, free: 217.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/3.894, allocations: 239.6 kB / 3.286 GB, free: 217.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/3.894, allocations: 25.7 kB / 3.286 GB, free: 217.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/3.894, allocations: 164.1 kB / 3.286 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/3.894, allocations: 70.95 kB / 3.286 GB, free: 216.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/3.894, allocations: 0 / 3.286 GB, free: 216.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/3.894, allocations: 338.8 kB / 3.287 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/3.894, allocations: 63.86 kB / 3.287 GB, free: 216.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.056e-05/3.895, allocations: 106 kB / 3.287 GB, free: 216.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/3.895, allocations: 79.95 kB / 3.287 GB, free: 216.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/3.895, allocations: 4 kB / 3.287 GB, free: 216.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002638/3.895, allocations: 220 kB / 3.287 GB, free: 216 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/3.895, allocations: 4 kB / 3.287 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/3.895, allocations: 4.188 kB / 3.287 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/3.895, allocations: 11.98 kB / 3.287 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/3.895, allocations: 39.92 kB / 3.287 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/3.895, allocations: 7.906 kB / 3.287 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/3.895, allocations: 15.84 kB / 3.287 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/3.896, allocations: 12 kB / 3.287 GB, free: 215.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.174e-05/3.896, allocations: 104.9 kB / 3.287 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/3.896, allocations: 35.62 kB / 3.287 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/3.896, allocations: 38.02 kB / 3.287 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/3.896, allocations: 3.984 kB / 3.287 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/3.896, allocations: 4 kB / 3.287 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/3.896, allocations: 0 / 3.287 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/3.896, allocations: 357.8 kB / 3.288 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/3.896, allocations: 0 / 3.288 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/3.896, allocations: 39.92 kB / 3.288 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/3.896, allocations: 44.83 kB / 3.288 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/3.896, allocations: 3.906 kB / 3.288 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007853/3.897, allocations: 1.362 MB / 3.289 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/3.897, allocations: 0 / 3.289 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004244/3.898, allocations: 392.9 kB / 3.29 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005952/3.898, allocations: 0.8514 MB / 3.29 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/3.898, allocations: 128.6 kB / 3.291 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/3.898, allocations: 4 kB / 3.291 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/3.899, allocations: 7.906 kB / 3.291 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/3.899, allocations: 11.98 kB / 3.291 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/3.899, allocations: 11.98 kB / 3.291 GB, free: 212.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001275/3.899, allocations: 195 kB / 3.291 GB, free: 212.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001097/3.9, allocations: 207.8 kB / 3.291 GB, free: 211.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/3.901, allocations: 0.8132 MB / 3.292 GB, free: 211.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002077/3.901, allocations: 148.2 kB / 3.292 GB, free: 211 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/3.901, allocations: 4.375 kB / 3.292 GB, free: 211 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/3.901, allocations: 185.6 kB / 3.292 GB, free: 210.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/3.902, allocations: 178.1 kB / 3.292 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/3.903, allocations: 0.5467 MB / 3.293 GB, free: 210 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/3.903, allocations: 0.8455 MB / 3.294 GB, free: 209.2 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/3.903, allocations: 0 / 3.294 GB, free: 209.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat