Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.429/2.429, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002686/0.002686, allocations: 195.3 kB / 315.1 MB, free: 4.273 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.044/2.044, allocations: 205.1 MB / 0.5658 GB, free: 308 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001326/0.001325, allocations: 91.38 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4933/0.4947, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.7271, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6728/1.4, allocations: 137.2 MB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004455/1.4, allocations: 86.58 kB / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.03832/1.439, allocations: 7.662 MB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.439, allocations: 8 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.439, allocations: 23.72 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.44, allocations: 327.5 kB / 1.025 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/1.44, allocations: 62.03 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/1.44, allocations: 4 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000352/1.441, allocations: 102.7 kB / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/1.441, allocations: 96.41 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.441, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.441, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.441, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/1.441, allocations: 225.3 kB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/1.444, allocations: 354.3 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/1.444, allocations: 59.62 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/1.445, allocations: 101.1 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.445, allocations: 37.12 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/1.445, allocations: 0 / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0006594/1.445, allocations: 164.5 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/1.445, allocations: 51.41 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/1.446, allocations: 255.1 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/1.446, allocations: 25.7 kB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/1.446, allocations: 111.1 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/1.446, allocations: 22.91 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/1.446, allocations: 0 / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.446, allocations: 333.2 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/1.446, allocations: 134.6 kB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/1.447, allocations: 132.4 kB / 1.028 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.448, allocations: 261.2 kB / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.448, allocations: 0 / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001704/1.449, allocations: 0.5241 MB / 1.028 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.45, allocations: 7.938 kB / 1.028 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.45, allocations: 4 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.45, allocations: 0 / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.45, allocations: 23.98 kB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.45, allocations: 0 / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/1.451, allocations: 39.42 kB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/1.451, allocations: 8 kB / 1.028 GB, free: 9.23 MB / 0.6511 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001704/1.451, allocations: 101 kB / 1.028 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/1.451, allocations: 23.53 kB / 1.028 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.452, allocations: 217.7 kB / 1.029 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.452, allocations: 7.906 kB / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.452, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.452, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/1.453, allocations: 202.5 kB / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.453, allocations: 0 / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/1.453, allocations: 19.98 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/1.453, allocations: 0 / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.453, allocations: 0 / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/1.454, allocations: 11.91 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.454, allocations: 0 / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001003/1.455, allocations: 194.2 kB / 1.029 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00112/1.456, allocations: 0.561 MB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/1.456, allocations: 108.8 kB / 1.03 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.456, allocations: 4 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/1.457, allocations: 11.92 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.457, allocations: 4 kB / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/1.457, allocations: 11.98 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005072/1.457, allocations: 179.9 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002826/1.46, allocations: 134.1 kB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001107/1.461, allocations: 242.9 kB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000891/1.462, allocations: 340.9 kB / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.462, allocations: 0 / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/1.463, allocations: 50.86 kB / 1.031 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/1.463, allocations: 39.56 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/1.464, allocations: 242.7 kB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/1.465, allocations: 0.7625 MB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.465, allocations: 4 kB / 1.032 GB, free: 5.852 MB / 0.6511 GB