Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") [: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.006/2.006, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.00117/0.00117, allocations: 181.2 kB / 490.8 MB, free: 1.766 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.307/1.307, 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.001063/0.001063, allocations: 95.42 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.022e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2328, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6016/0.8345, allocations: 151.7 MB / 1.36 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.8347, allocations: 76.44 kB / 1.36 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0248/0.8595, allocations: 6.542 MB / 1.366 GB, free: 16.68 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.8596, allocations: 4.344 kB / 1.366 GB, free: 16.68 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001698/0.8613, allocations: 0.658 MB / 1.367 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8613, allocations: 8.844 kB / 1.367 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.8614, allocations: 35.56 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.8624, allocations: 419.8 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8625, allocations: 3.781 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.8625, allocations: 24.91 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002331/0.8628, allocations: 136.2 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.863, allocations: 156.4 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.863, allocations: 0.8438 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.8631, allocations: 0 / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8631, allocations: 3.281 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.8642, allocations: 0.8438 MB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.8645, allocations: 230.2 kB / 1.369 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.8647, allocations: 109.2 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.8647, allocations: 5.266 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.8647, allocations: 39.92 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.8647, allocations: 1.531 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0004387/0.8652, allocations: 239 kB / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.8652, allocations: 54.22 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.8654, allocations: 244.8 kB / 1.369 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.8655, allocations: 26.27 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.8656, allocations: 120.9 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.8657, allocations: 75.77 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.8657, allocations: 4 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8658, allocations: 340.2 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.8662, allocations: 258.9 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.8666, allocations: 302.9 kB / 1.37 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.867, allocations: 289.1 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8671, allocations: 1.969 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001067/0.8681, allocations: 0.651 MB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8682, allocations: 3.969 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8682, allocations: 4.781 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8682, allocations: 2.469 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.869, allocations: 124 kB / 1.371 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8691, allocations: 6 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.8703, allocations: 71.28 kB / 1.371 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.8704, allocations: 22 kB / 1.371 GB, free: 30.72 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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 0.0001035/0.8705, allocations: 108.6 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.8705, allocations: 19.22 kB / 1.372 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.8706, allocations: 30.17 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8706, allocations: 2.844 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8706, allocations: 0 / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8706, allocations: 0.5625 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.871, allocations: 394.6 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.871, allocations: 6.094 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.8713, allocations: 41.7 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8713, allocations: 5.328 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.8713, allocations: 5.672 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8713, allocations: 0 / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8713, allocations: 1.594 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005231/0.8719, allocations: 473.3 kB / 1.372 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.8719, allocations: 107.9 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.872, allocations: 3.344 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.8726, allocations: 19.23 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.8726, allocations: 17.08 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.8727, allocations: 3.219 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001402/0.8728, allocations: 173.4 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005584/0.8734, allocations: 193 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001544/0.8735, allocations: 118.4 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.8742, allocations: 443.7 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8742, allocations: 0 / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.8743, allocations: 112.4 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.8747, allocations: 51.31 kB / 1.374 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.876, allocations: 0.9175 MB / 1.375 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.8765, allocations: 0.8228 MB / 1.375 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.8765, allocations: 0.9062 kB / 1.375 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.009598/0.8861, allocations: 5.418 MB / 1.381 GB, free: 27.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches