Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [: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 2.002/2.002, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001105/0.001106, allocations: 173.3 kB / 490.8 MB, free: 1.953 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.317/1.317, allocations: 221.4 MB / 0.7863 GB, free: 13.77 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.000922/0.0009221, allocations: 92.66 kB / 0.9264 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.192e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 143 MB / 1.212 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.624/0.872, allocations: 162.3 MB / 1.37 GB, free: 6.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.8723, allocations: 84.19 kB / 1.37 GB, free: 6.727 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.08586/0.9582, allocations: 26.67 MB / 1.396 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.9583, allocations: 19.98 kB / 1.396 GB, free: 1.082 MB / 0.8386 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.001139/0.9594, allocations: 0.8055 MB / 1.397 GB, free: 276 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.9595, allocations: 16.03 kB / 1.397 GB, free: 260 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.9596, allocations: 75.06 kB / 1.397 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.9618, allocations: 1.24 MB / 1.398 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.9619, allocations: 8.656 kB / 1.398 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.9619, allocations: 35.84 kB / 1.398 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003246/0.9623, allocations: 212 kB / 1.398 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.9627, allocations: 326.5 kB / 1.399 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9627, allocations: 3.938 kB / 1.399 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.9628, allocations: 0 / 1.399 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9628, allocations: 8 kB / 1.399 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.9649, allocations: 1.935 MB / 1.401 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.9653, allocations: 281.4 kB / 1.401 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.9655, allocations: 128.7 kB / 1.401 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.9655, allocations: 4 kB / 1.401 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.9655, allocations: 30.56 kB / 1.401 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.9655, allocations: 3.938 kB / 1.401 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005728/0.9661, allocations: 338.7 kB / 1.401 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.9661, allocations: 55.31 kB / 1.401 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.9671, allocations: 0.8905 MB / 1.402 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.9672, allocations: 25.7 kB / 1.402 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.9673, allocations: 208.5 kB / 1.403 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.9674, allocations: 72.83 kB / 1.403 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.9674, allocations: 0 / 1.403 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9676, allocations: 380.8 kB / 1.403 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9678, allocations: 228.7 kB / 1.403 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.9683, allocations: 0.49 MB / 1.404 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.9687, allocations: 297.8 kB / 1.404 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9687, allocations: 7.938 kB / 1.404 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009884/0.9697, allocations: 0.7394 MB / 1.405 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9697, allocations: 4 kB / 1.405 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.9697, allocations: 15.91 kB / 1.405 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.97, allocations: 55.19 kB / 1.405 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.9705, allocations: 134.9 kB / 1.405 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.9717, allocations: 1.419 MB / 1.406 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.9726, allocations: 139.4 kB / 1.406 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.9727, allocations: 23.38 kB / 1.406 GB, free: 7.598 MB / 0.8542 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.000128/0.9728, allocations: 132.5 kB / 1.407 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.9729, allocations: 59.16 kB / 1.407 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.973, allocations: 64.14 kB / 1.407 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.973, allocations: 4 kB / 1.407 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.973, allocations: 4 kB / 1.407 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9731, allocations: 3.984 kB / 1.407 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.9738, allocations: 0.6257 MB / 1.407 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.9738, allocations: 0 / 1.407 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.9741, allocations: 46.91 kB / 1.407 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.9742, allocations: 43.2 kB / 1.407 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.9743, allocations: 7.984 kB / 1.407 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.9754, allocations: 1.402 MB / 1.409 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9754, allocations: 0 / 1.409 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006963/0.9761, allocations: 0.5537 MB / 1.409 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.9765, allocations: 359.4 kB / 1.41 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.9766, allocations: 10.98 kB / 1.41 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.9772, allocations: 52.02 kB / 1.41 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.9772, allocations: 15.91 kB / 1.41 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.9773, allocations: 4 kB / 1.41 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000772/0.978, allocations: 0.6711 MB / 1.41 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006885/0.9787, allocations: 187.8 kB / 1.411 GB, free: 3.73 MB / 0.8542 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.0002865/0.979, allocations: 172.4 kB / 1.411 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.9798, allocations: 0.5446 MB / 1.411 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9798, allocations: 0 / 1.411 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.9801, allocations: 227.4 kB / 1.412 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.9807, allocations: 147.3 kB / 1.412 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.9827, allocations: 1.236 MB / 1.413 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.9833, allocations: 1.063 MB / 1.414 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of SimCode: time 3.3e-07/0.9834, allocations: 4 kB / 1.414 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of Templates: time 0.01266/0.996, allocations: 7.229 MB / 1.421 GB, free: 9.5 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches