Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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 2.049/2.049, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001185/0.001185, allocations: 177.3 kB / 487 MB, free: 5.375 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.405/1.405, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0009243/0.0009242, allocations: 90.39 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6059/0.6069, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.878, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7287/1.607, allocations: 161.2 MB / 1.363 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.607, allocations: 78.8 kB / 1.363 GB, free: 13.38 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.09038/1.697, allocations: 27.5 MB / 1.39 GB, free: 7.242 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/1.698, allocations: 8 kB / 1.39 GB, free: 7.234 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007058/1.698, allocations: 79.06 kB / 1.39 GB, free: 7.156 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/1.701, allocations: 1.241 MB / 1.391 GB, free: 6.164 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/1.701, allocations: 8 kB / 1.391 GB, free: 6.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.701, allocations: 27.91 kB / 1.391 GB, free: 6.129 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003733/1.702, allocations: 217.4 kB / 1.391 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/1.702, allocations: 338.5 kB / 1.391 GB, free: 5.688 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.702, allocations: 0 / 1.391 GB, free: 5.688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.702, allocations: 3.938 kB / 1.391 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.702, allocations: 8 kB / 1.391 GB, free: 5.676 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/1.705, allocations: 1.93 MB / 1.393 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/1.705, allocations: 271.8 kB / 1.394 GB, free: 3.758 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.705, allocations: 134.1 kB / 1.394 GB, free: 3.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/1.705, allocations: 0 / 1.394 GB, free: 3.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/1.705, allocations: 34.56 kB / 1.394 GB, free: 3.617 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/1.705, allocations: 0 / 1.394 GB, free: 3.617 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0006127/1.706, allocations: 337 kB / 1.394 GB, free: 3.332 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/1.706, allocations: 54.53 kB / 1.394 GB, free: 3.27 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.707, allocations: 0.8886 MB / 1.395 GB, free: 2.598 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/1.707, allocations: 25.7 kB / 1.395 GB, free: 2.566 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.707, allocations: 213 kB / 1.395 GB, free: 2.379 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/1.707, allocations: 74.08 kB / 1.395 GB, free: 2.316 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.708, allocations: 0 / 1.395 GB, free: 2.316 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.708, allocations: 375.6 kB / 1.396 GB, free: 1.965 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/1.708, allocations: 225.9 kB / 1.396 GB, free: 1.801 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/1.709, allocations: 0.4891 MB / 1.396 GB, free: 1.254 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/1.709, allocations: 302 kB / 1.397 GB, free: 1.023 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/1.709, allocations: 7.938 kB / 1.397 GB, free: 1.016 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001308/1.71, allocations: 0.7434 MB / 1.397 GB, free: 396 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.71, allocations: 4.906 kB / 1.397 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.71, allocations: 12 kB / 1.397 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/1.711, allocations: 59.31 kB / 1.397 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/1.711, allocations: 134.9 kB / 1.398 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/1.713, allocations: 1.421 MB / 1.399 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.714, allocations: 127.3 kB / 1.399 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/1.714, allocations: 31.16 kB / 1.399 GB, free: 14.58 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.714, allocations: 132.5 kB / 1.399 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/1.714, allocations: 59.16 kB / 1.399 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/1.714, allocations: 63.02 kB / 1.399 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.714, allocations: 4 kB / 1.399 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.714, allocations: 0 / 1.399 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.714, allocations: 0 / 1.399 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/1.715, allocations: 0.6272 MB / 1.4 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.715, allocations: 3.984 kB / 1.4 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/1.715, allocations: 47.47 kB / 1.4 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/1.715, allocations: 43.7 kB / 1.4 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/1.715, allocations: 15.86 kB / 1.4 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009368/1.716, allocations: 1.407 MB / 1.401 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.716, allocations: 0 / 1.401 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000609/1.717, allocations: 0.5567 MB / 1.402 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009286/1.718, allocations: 1.092 MB / 1.403 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/1.718, allocations: 355.4 kB / 1.403 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.718, allocations: 4.25 kB / 1.403 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/1.719, allocations: 59.83 kB / 1.403 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/1.719, allocations: 15.41 kB / 1.403 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.719, allocations: 4 kB / 1.403 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0009468/1.72, allocations: 0.6627 MB / 1.404 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001485/1.722, allocations: 194.9 kB / 1.404 GB, free: 9.738 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/1.722, allocations: 174.4 kB / 1.404 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008812/1.723, allocations: 0.5383 MB / 1.405 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.723, allocations: 0 / 1.405 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/1.723, allocations: 232.9 kB / 1.405 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/1.724, allocations: 152.7 kB / 1.405 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/1.726, allocations: 1.249 MB / 1.407 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/1.727, allocations: 1.078 MB / 1.408 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.727, allocations: 0 / 1.408 GB, free: 6.59 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat