Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.459/2.459, allocations: 248.6 MB / 255.9 MB, free: 336 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002428, allocations: 187.5 kB / 315.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.39/2.39, allocations: 205.1 MB / 0.5658 GB, free: 25.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 94.89 kB / 0.67 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2822/0.2835, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.8638, allocations: 106.2 MB / 0.8834 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/1.097, allocations: 133.2 MB / 1.013 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004209/1.097, allocations: 67.97 kB / 1.014 GB, free: 7.84 MB / 0.6667 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.05898/1.156, allocations: 7.143 MB / 1.021 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.156, allocations: 8 kB / 1.021 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/1.157, allocations: 27.72 kB / 1.021 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.159, allocations: 421.8 kB / 1.021 GB, free: 128 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.159, allocations: 4 kB / 1.021 GB, free: 124 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.159, allocations: 20 kB / 1.021 GB, free: 104 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004331/1.159, allocations: 132.4 kB / 1.021 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/1.16, allocations: 157.3 kB / 1.021 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.16, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/1.16, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/1.16, allocations: 15.89 kB / 1.021 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/1.162, allocations: 0.84 MB / 1.022 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/1.163, allocations: 234.4 kB / 1.022 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/1.163, allocations: 100.8 kB / 1.022 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/1.163, allocations: 8.25 kB / 1.022 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.163, allocations: 38.5 kB / 1.022 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.496e-06/1.163, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0008403/1.164, allocations: 243.9 kB / 1.023 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.164, allocations: 59.41 kB / 1.023 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/1.165, allocations: 244.8 kB / 1.023 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/1.165, allocations: 25.7 kB / 1.023 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.165, allocations: 124.8 kB / 1.023 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.165, allocations: 66.95 kB / 1.023 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/1.165, allocations: 3.938 kB / 1.023 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.165, allocations: 342.7 kB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/1.166, allocations: 256.9 kB / 1.024 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000837/1.167, allocations: 310.9 kB / 1.024 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/1.168, allocations: 289.3 kB / 1.024 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.168, allocations: 0 / 1.024 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002384/1.17, allocations: 0.6446 MB / 1.025 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.17, allocations: 4.625 kB / 1.025 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.171, allocations: 0 / 1.025 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.171, allocations: 4 kB / 1.025 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/1.172, allocations: 127.8 kB / 1.025 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.172, allocations: 3.906 kB / 1.025 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.176, allocations: 63.47 kB / 1.025 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/1.176, allocations: 23.98 kB / 1.025 GB, free: 11.68 MB / 0.6823 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.0002974/1.176, allocations: 108.8 kB / 1.025 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.177, allocations: 23.72 kB / 1.025 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/1.177, allocations: 29.89 kB / 1.025 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.177, allocations: 4 kB / 1.025 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.177, allocations: 0 / 1.025 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.177, allocations: 0 / 1.025 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.178, allocations: 393.6 kB / 1.026 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.178, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.18, allocations: 43.91 kB / 1.026 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/1.18, allocations: 0 / 1.026 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.637e-05/1.18, allocations: 12 kB / 1.026 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/1.18, allocations: 3.984 kB / 1.026 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.18, allocations: 3.984 kB / 1.026 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001771/1.182, allocations: 467.7 kB / 1.026 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002384/1.184, allocations: 0.9765 MB / 1.027 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/1.184, allocations: 112.8 kB / 1.027 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.185, allocations: 3.984 kB / 1.027 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.187, allocations: 15.89 kB / 1.027 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.187, allocations: 15.92 kB / 1.027 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.187, allocations: 4 kB / 1.027 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004224/1.187, allocations: 181.2 kB / 1.028 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003224/1.19, allocations: 192 kB / 1.028 GB, free: 9.02 MB / 0.6823 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.0004101/1.191, allocations: 120.3 kB / 1.028 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.193, allocations: 442 kB / 1.028 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.193, allocations: 0 / 1.028 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/1.194, allocations: 111.9 kB / 1.028 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/1.195, allocations: 52.38 kB / 1.028 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/1.199, allocations: 0.9316 MB / 1.029 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.2, allocations: 0.8345 MB / 1.03 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of SimCode: time 2.405e-06/1.2, allocations: 0 / 1.03 GB, free: 6.488 MB / 0.6823 GB