Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.042/2.042, 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.001035/0.001036, allocations: 180.3 kB / 487 MB, free: 5.383 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.515/1.515, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001018/0.001018, allocations: 94.42 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5754/0.5764, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.8368, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7542/1.591, allocations: 161.2 MB / 1.363 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.591, allocations: 75.77 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.08691/1.678, allocations: 27.5 MB / 1.39 GB, free: 7.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.678, allocations: 8 kB / 1.39 GB, free: 7.223 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.679, allocations: 75.06 kB / 1.39 GB, free: 7.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/1.681, allocations: 1.242 MB / 1.391 GB, free: 6.156 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.681, allocations: 15.94 kB / 1.391 GB, free: 6.141 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/1.681, allocations: 28.66 kB / 1.391 GB, free: 6.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004024/1.682, allocations: 209.6 kB / 1.391 GB, free: 5.969 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/1.682, allocations: 332.2 kB / 1.391 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.682, allocations: 3.938 kB / 1.391 GB, free: 5.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/1.682, allocations: 0 / 1.391 GB, free: 5.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/1.682, allocations: 12 kB / 1.391 GB, free: 5.668 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/1.685, allocations: 1.936 MB / 1.393 GB, free: 3.957 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/1.685, allocations: 272.4 kB / 1.394 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/1.685, allocations: 127.9 kB / 1.394 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.685, allocations: 4 kB / 1.394 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.686, allocations: 42.44 kB / 1.394 GB, free: 3.602 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/1.686, allocations: 0 / 1.394 GB, free: 3.602 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0006162/1.686, allocations: 332.5 kB / 1.394 GB, free: 3.32 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.686, allocations: 55.41 kB / 1.394 GB, free: 3.254 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.687, allocations: 0.8862 MB / 1.395 GB, free: 2.586 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/1.687, allocations: 25.7 kB / 1.395 GB, free: 2.555 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.687, allocations: 210.9 kB / 1.395 GB, free: 2.371 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/1.688, allocations: 74.12 kB / 1.395 GB, free: 2.305 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/1.688, allocations: 0 / 1.395 GB, free: 2.305 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.688, allocations: 377.8 kB / 1.396 GB, free: 1.953 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/1.688, allocations: 231.3 kB / 1.396 GB, free: 1.785 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/1.689, allocations: 498.2 kB / 1.396 GB, free: 1.238 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/1.689, allocations: 298.4 kB / 1.397 GB, free: 1.012 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.689, allocations: 4 kB / 1.397 GB, free: 1.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001022/1.69, allocations: 0.7453 MB / 1.397 GB, free: 384 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.69, allocations: 11.94 kB / 1.397 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.69, allocations: 8 kB / 1.397 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/1.69, allocations: 60.39 kB / 1.397 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/1.691, allocations: 131.5 kB / 1.398 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/1.692, allocations: 1.416 MB / 1.399 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/1.693, allocations: 131.3 kB / 1.399 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/1.693, allocations: 27.5 kB / 1.399 GB, free: 14.57 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.0001111/1.693, allocations: 131.7 kB / 1.399 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/1.693, allocations: 59.16 kB / 1.399 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.693, allocations: 74.38 kB / 1.399 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.693, allocations: 4 kB / 1.399 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.693, allocations: 0 / 1.399 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.693, allocations: 0 / 1.399 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/1.694, allocations: 0.63 MB / 1.4 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.694, allocations: 0 / 1.4 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/1.694, allocations: 51.34 kB / 1.4 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/1.694, allocations: 47.5 kB / 1.4 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.694, allocations: 4 kB / 1.4 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/1.696, allocations: 1.401 MB / 1.401 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.696, allocations: 0 / 1.401 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006134/1.696, allocations: 0.5525 MB / 1.402 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009091/1.697, allocations: 1.101 MB / 1.403 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/1.697, allocations: 351.1 kB / 1.403 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/1.698, allocations: 11.92 kB / 1.403 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/1.698, allocations: 56.08 kB / 1.403 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/1.698, allocations: 11.17 kB / 1.403 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.698, allocations: 4 kB / 1.403 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007499/1.699, allocations: 0.6744 MB / 1.404 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00131/1.7, allocations: 191.7 kB / 1.404 GB, free: 9.727 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.0002983/1.701, allocations: 178.7 kB / 1.404 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008304/1.701, allocations: 0.531 MB / 1.405 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.701, allocations: 0 / 1.405 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.702, allocations: 239 kB / 1.405 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/1.702, allocations: 142.6 kB / 1.405 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.705, allocations: 1.258 MB / 1.407 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008372/1.705, allocations: 1.076 MB / 1.408 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of SimCode: time 5.92e-07/1.705, allocations: 0 / 1.408 GB, free: 6.578 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat