Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.799/1.799, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009083/0.0009084, allocations: 177.2 kB / 490.8 MB, free: 1.926 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.145/1.145, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009003, allocations: 99.67 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4465/0.4474, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.6451, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.106/3.751, allocations: 1.914 GB / 3.126 GB, free: 427.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/3.751, allocations: 83.05 kB / 3.126 GB, free: 427.5 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.2806/4.032, allocations: 168.4 MB / 3.29 GB, free: 258.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/4.032, allocations: 8 kB / 3.29 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/4.033, allocations: 151.4 kB / 3.29 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/4.033, allocations: 423.1 kB / 3.291 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/4.033, allocations: 8 kB / 3.291 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/4.033, allocations: 23.91 kB / 3.291 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002724/4.034, allocations: 184.9 kB / 3.291 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/4.034, allocations: 241.7 kB / 3.291 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/4.034, allocations: 0 / 3.291 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/4.034, allocations: 0 / 3.291 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/4.034, allocations: 8.5 kB / 3.291 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/4.035, allocations: 1.263 MB / 3.293 GB, free: 256.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/4.035, allocations: 202.8 kB / 3.293 GB, free: 256 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/4.036, allocations: 76.86 kB / 3.293 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/4.036, allocations: 3.984 kB / 3.293 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/4.036, allocations: 42.55 kB / 3.293 GB, free: 255.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/4.036, allocations: 4 kB / 3.293 GB, free: 255.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.000544/4.036, allocations: 224.6 kB / 3.293 GB, free: 255.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.248e-05/4.036, allocations: 51.41 kB / 3.293 GB, free: 255.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/4.036, allocations: 247.5 kB / 3.293 GB, free: 255.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/4.036, allocations: 25.7 kB / 3.293 GB, free: 255.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/4.036, allocations: 152.1 kB / 3.294 GB, free: 255.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/4.036, allocations: 82.94 kB / 3.294 GB, free: 255 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/4.036, allocations: 0 / 3.294 GB, free: 255 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/4.037, allocations: 334.8 kB / 3.294 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/4.037, allocations: 63.92 kB / 3.294 GB, free: 254.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/4.037, allocations: 103.5 kB / 3.294 GB, free: 254.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/4.037, allocations: 84.2 kB / 3.294 GB, free: 254.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/4.037, allocations: 0 / 3.294 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002592/4.037, allocations: 217.2 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/4.037, allocations: 4 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/4.037, allocations: 192 / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/4.037, allocations: 8 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/4.037, allocations: 47.92 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/4.037, allocations: 11.97 kB / 3.294 GB, free: 254.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/4.038, allocations: 19.75 kB / 3.294 GB, free: 254.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/4.038, allocations: 7.938 kB / 3.294 GB, free: 254.1 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 4.913e-05/4.038, allocations: 105 kB / 3.295 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/4.038, allocations: 35.62 kB / 3.295 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/4.038, allocations: 34.08 kB / 3.295 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/4.038, allocations: 0 / 3.295 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/4.038, allocations: 0 / 3.295 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/4.038, allocations: 3.984 kB / 3.295 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/4.038, allocations: 369.7 kB / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/4.038, allocations: 0 / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/4.038, allocations: 31.92 kB / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/4.039, allocations: 44.83 kB / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/4.039, allocations: 11.94 kB / 3.295 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007655/4.039, allocations: 1.365 MB / 3.296 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/4.039, allocations: 0 / 3.296 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003905/4.04, allocations: 388.6 kB / 3.297 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005665/4.04, allocations: 0.8514 MB / 3.298 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/4.04, allocations: 132.7 kB / 3.298 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/4.04, allocations: 3.984 kB / 3.298 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/4.041, allocations: 4 kB / 3.298 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/4.041, allocations: 11.89 kB / 3.298 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/4.041, allocations: 16 kB / 3.298 GB, free: 250.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001247/4.041, allocations: 195 kB / 3.298 GB, free: 250.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001031/4.042, allocations: 211.8 kB / 3.298 GB, free: 250.1 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.0006023/4.043, allocations: 0.799 MB / 3.299 GB, free: 249.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001962/4.043, allocations: 151.9 kB / 3.299 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/4.043, allocations: 4 kB / 3.299 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/4.043, allocations: 182.1 kB / 3.299 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007601/4.044, allocations: 173 kB / 3.299 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/4.045, allocations: 0.5506 MB / 3.3 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/4.045, allocations: 0.8416 MB / 3.301 GB, free: 247.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/4.045, allocations: 3.938 kB / 3.301 GB, free: 247.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat