Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.018/2.018, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001145/0.001145, allocations: 181.3 kB / 487 MB, free: 5.355 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.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009397/0.0009397, allocations: 99.31 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6021/0.6031, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.8618, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/1.616, allocations: 150.9 MB / 1.353 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.616, allocations: 66.62 kB / 1.353 GB, free: 15.78 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.03043/1.647, allocations: 7.212 MB / 1.36 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.647, allocations: 12 kB / 1.36 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/1.647, allocations: 27.62 kB / 1.36 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.648, allocations: 423.9 kB / 1.36 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.648, allocations: 0.5625 kB / 1.36 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/1.648, allocations: 23.91 kB / 1.36 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002817/1.648, allocations: 134.4 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/1.649, allocations: 159.5 kB / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.649, allocations: 0 / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.649, allocations: 0 / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.649, allocations: 0 / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/1.65, allocations: 0.8457 MB / 1.361 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.65, allocations: 232.5 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/1.651, allocations: 116.2 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.651, allocations: 3.984 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.651, allocations: 30.56 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/1.651, allocations: 4 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0004408/1.651, allocations: 244.5 kB / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/1.651, allocations: 51.41 kB / 1.362 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/1.651, allocations: 248.4 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/1.651, allocations: 29.7 kB / 1.362 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/1.651, allocations: 118.5 kB / 1.362 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/1.651, allocations: 75.91 kB / 1.362 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/1.652, allocations: 0 / 1.362 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/1.652, allocations: 340.5 kB / 1.363 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/1.652, allocations: 256.5 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/1.652, allocations: 298.2 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/1.653, allocations: 301 kB / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.653, allocations: 0 / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001034/1.654, allocations: 0.6479 MB / 1.364 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.654, allocations: 4 kB / 1.364 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.654, allocations: 7.938 kB / 1.364 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.654, allocations: 0 / 1.364 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/1.655, allocations: 123.2 kB / 1.364 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.655, allocations: 7.938 kB / 1.364 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.656, allocations: 71.38 kB / 1.364 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/1.656, allocations: 15.48 kB / 1.364 GB, free: 11.42 MB / 0.8073 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 9.834e-05/1.656, allocations: 108.9 kB / 1.365 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/1.656, allocations: 23.62 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/1.656, allocations: 30.08 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.656, allocations: 4 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.656, allocations: 0 / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/1.656, allocations: 0 / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/1.657, allocations: 392.8 kB / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.657, allocations: 0 / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/1.657, allocations: 47.09 kB / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.657, allocations: 4 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/1.657, allocations: 7.984 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.657, allocations: 4 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.657, allocations: 0 / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004659/1.658, allocations: 476.4 kB / 1.365 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006243/1.658, allocations: 0.9707 MB / 1.366 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/1.658, allocations: 108.2 kB / 1.367 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.658, allocations: 7.984 kB / 1.367 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/1.659, allocations: 15.98 kB / 1.367 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/1.659, allocations: 11.92 kB / 1.367 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/1.659, allocations: 7.984 kB / 1.367 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001158/1.659, allocations: 170.3 kB / 1.367 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001178/1.66, allocations: 199.8 kB / 1.367 GB, free: 9.113 MB / 0.8073 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.0001693/1.661, allocations: 111.2 kB / 1.367 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005657/1.661, allocations: 444.1 kB / 1.367 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.661, allocations: 0 / 1.367 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.661, allocations: 111.6 kB / 1.368 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.662, allocations: 58.23 kB / 1.368 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.663, allocations: 0.9294 MB / 1.368 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.663, allocations: 0.8386 MB / 1.369 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/1.663, allocations: 0 / 1.369 GB, free: 6.816 MB / 0.8073 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat does not exist to compare? outputFormat=mat