Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 177.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 0.6256 GB, free: 5.883 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 87.81 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.266/0.2669, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.9437, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/1.124, allocations: 140.6 MB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.125, allocations: 68.97 kB / 1.11 GB, free: 7.73 MB / 0.7136 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.02737/1.152, allocations: 7.126 MB / 1.117 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.152, allocations: 8 kB / 1.117 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/1.152, allocations: 31.62 kB / 1.117 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.153, allocations: 413.9 kB / 1.117 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.153, allocations: 4 kB / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/1.153, allocations: 27.91 kB / 1.117 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002977/1.154, allocations: 129.1 kB / 1.118 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/1.154, allocations: 155.2 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.154, allocations: 0 / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/1.154, allocations: 0 / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.154, allocations: 7.938 kB / 1.118 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/1.155, allocations: 0.8439 MB / 1.119 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/1.156, allocations: 234.4 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/1.156, allocations: 109.8 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/1.156, allocations: 4 kB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/1.156, allocations: 38.48 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/1.156, allocations: 0 / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0004797/1.156, allocations: 244.7 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.156, allocations: 55.41 kB / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/1.157, allocations: 252.8 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/1.157, allocations: 25.7 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/1.157, allocations: 116.9 kB / 1.12 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/1.157, allocations: 78.84 kB / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/1.157, allocations: 0 / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.157, allocations: 339.6 kB / 1.12 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/1.158, allocations: 256.9 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/1.158, allocations: 306.9 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/1.158, allocations: 289.3 kB / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.158, allocations: 0 / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001084/1.16, allocations: 0.6523 MB / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.16, allocations: 4 kB / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.16, allocations: 0 / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.16, allocations: 5.688 kB / 1.121 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/1.16, allocations: 123.8 kB / 1.122 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.161, allocations: 6.266 kB / 1.122 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.162, allocations: 67.41 kB / 1.122 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.162, allocations: 19.98 kB / 1.122 GB, free: 11.59 MB / 0.7292 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.0001365/1.162, allocations: 108.9 kB / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/1.162, allocations: 23.62 kB / 1.122 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/1.162, allocations: 21.91 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.162, allocations: 8 kB / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.162, allocations: 0 / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.162, allocations: 0 / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/1.163, allocations: 397.6 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.163, allocations: 0 / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/1.163, allocations: 47.91 kB / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.163, allocations: 0 / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/1.163, allocations: 4 kB / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.163, allocations: 0 / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.163, allocations: 7.938 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005631/1.164, allocations: 476.2 kB / 1.123 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007666/1.164, allocations: 0.9721 MB / 1.124 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.164, allocations: 116.7 kB / 1.124 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/1.164, allocations: 4 kB / 1.124 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/1.165, allocations: 15.97 kB / 1.124 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/1.165, allocations: 11.98 kB / 1.124 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.165, allocations: 0 / 1.124 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002346/1.165, allocations: 177.2 kB / 1.124 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001271/1.167, allocations: 191.9 kB / 1.124 GB, free: 8.949 MB / 0.7292 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.0001913/1.167, allocations: 127.1 kB / 1.124 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006292/1.168, allocations: 438.1 kB / 1.125 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.168, allocations: 0 / 1.125 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/1.168, allocations: 115.9 kB / 1.125 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/1.168, allocations: 45.22 kB / 1.125 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.17, allocations: 0.9315 MB / 1.126 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/1.17, allocations: 0.8365 MB / 1.127 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.17, allocations: 0 / 1.127 GB, free: 6.418 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)