Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.004/2.004, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001183/0.001183, allocations: 181.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.377/1.377, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.000954/0.000954, allocations: 96.61 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6044/0.6054, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.8722, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7801/1.652, allocations: 158 MB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.653, allocations: 77.95 kB / 1.36 GB, free: 14.83 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.06148/1.714, allocations: 18.62 MB / 1.378 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.714, allocations: 9 kB / 1.378 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/1.714, allocations: 102.8 kB / 1.378 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/1.717, allocations: 1.073 MB / 1.379 GB, free: 15.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.717, allocations: 12 kB / 1.379 GB, free: 15.86 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/1.717, allocations: 39.91 kB / 1.379 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003549/1.717, allocations: 184.4 kB / 1.379 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/1.718, allocations: 348 kB / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.718, allocations: 0 / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.718, allocations: 4 kB / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/1.718, allocations: 8 kB / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/1.721, allocations: 2.168 MB / 1.382 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/1.721, allocations: 312.7 kB / 1.382 GB, free: 13.15 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/1.721, allocations: 139.8 kB / 1.382 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/1.721, allocations: 240 / 1.382 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/1.721, allocations: 42.11 kB / 1.382 GB, free: 13.01 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 2.395e-06/1.721, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.001565/1.723, allocations: 0.9417 MB / 1.383 GB, free: 12.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.723, allocations: 56.06 kB / 1.383 GB, free: 12.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009407/1.724, allocations: 0.7538 MB / 1.384 GB, free: 11.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/1.724, allocations: 33.7 kB / 1.384 GB, free: 11.47 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.724, allocations: 252.2 kB / 1.384 GB, free: 11.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.724, allocations: 111.8 kB / 1.384 GB, free: 11.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/1.724, allocations: 0 / 1.384 GB, free: 11.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.725, allocations: 388.9 kB / 1.385 GB, free: 10.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/1.725, allocations: 208.7 kB / 1.385 GB, free: 10.65 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/1.725, allocations: 0.5884 MB / 1.385 GB, free: 9.949 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/1.727, allocations: 1.022 MB / 1.386 GB, free: 9.059 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.727, allocations: 4 kB / 1.386 GB, free: 9.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001307/1.729, allocations: 0.7783 MB / 1.387 GB, free: 8.387 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.729, allocations: 8 kB / 1.387 GB, free: 8.379 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.729, allocations: 12 kB / 1.387 GB, free: 8.367 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/1.729, allocations: 56.48 kB / 1.387 GB, free: 8.312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.73, allocations: 210.3 kB / 1.387 GB, free: 8.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/1.731, allocations: 1.319 MB / 1.389 GB, free: 6.723 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.732, allocations: 47.8 kB / 1.389 GB, free: 6.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/1.732, allocations: 42.81 kB / 1.389 GB, free: 6.641 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0002348/1.732, allocations: 172.2 kB / 1.389 GB, free: 6.469 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.733, allocations: 82.86 kB / 1.389 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/1.733, allocations: 75.98 kB / 1.389 GB, free: 6.344 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.733, allocations: 4 kB / 1.389 GB, free: 6.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.733, allocations: 0 / 1.389 GB, free: 6.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.733, allocations: 3.984 kB / 1.389 GB, free: 6.336 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.735, allocations: 1.119 MB / 1.39 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.735, allocations: 4 kB / 1.39 GB, free: 5.387 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/1.735, allocations: 87.12 kB / 1.39 GB, free: 5.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/1.735, allocations: 31.53 kB / 1.39 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/1.735, allocations: 15.33 kB / 1.39 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.736, allocations: 1.295 MB / 1.392 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.736, allocations: 4.031 kB / 1.392 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000853/1.737, allocations: 0.6651 MB / 1.392 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001116/1.738, allocations: 1.217 MB / 1.393 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/1.739, allocations: 209 kB / 1.394 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.739, allocations: 7.688 kB / 1.394 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/1.74, allocations: 19.97 kB / 1.394 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/1.74, allocations: 23.81 kB / 1.394 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/1.74, allocations: 15.81 kB / 1.394 GB, free: 1.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006985/1.74, allocations: 0.5531 MB / 1.394 GB, free: 1.527 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001444/1.742, allocations: 191.5 kB / 1.394 GB, free: 1.344 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.0002503/1.742, allocations: 170.7 kB / 1.395 GB, free: 1.18 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009871/1.743, allocations: 0.5838 MB / 1.395 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.743, allocations: 0 / 1.395 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/1.743, allocations: 255.5 kB / 1.395 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/1.744, allocations: 147.4 kB / 1.396 GB, free: 372 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/1.747, allocations: 1.281 MB / 1.397 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/1.748, allocations: 1.07 MB / 1.398 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/1.748, allocations: 4 kB / 1.398 GB, free: 14.05 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat