Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Convection.Examples.Interior.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.Convection.Examples.Interior,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Convection_Examples_Interior",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.301/2.301, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001667/0.001667, allocations: 181.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.1 MB / 0.5658 GB, free: 476 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.001383/0.001382, allocations: 90.75 kB / 0.67 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4987/0.5001, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.7348, allocations: 106.2 MB / 0.8835 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7299/1.465, allocations: 135.4 MB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004237/1.465, allocations: 77.45 kB / 1.016 GB, free: 4.805 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.04442/1.51, allocations: 8.415 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.51, allocations: 12 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/1.51, allocations: 35.56 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/1.511, allocations: 302.1 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.511, allocations: 8 kB / 1.024 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/1.511, allocations: 16 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003579/1.511, allocations: 96.17 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/1.511, allocations: 130 kB / 1.025 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.511, allocations: 7.891 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.511, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.512, allocations: 8 kB / 1.025 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/1.513, allocations: 0.7769 MB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/1.513, allocations: 105.5 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.514, allocations: 42.36 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/1.514, allocations: 11.98 kB / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.514, allocations: 34.5 kB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/1.514, allocations: 3.938 kB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005448/1.514, allocations: 114.7 kB / 1.026 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/1.514, allocations: 55.41 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/1.515, allocations: 176 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.515, allocations: 25.7 kB / 1.026 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.515, allocations: 146.5 kB / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/1.515, allocations: 35.2 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/1.515, allocations: 3.938 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.515, allocations: 333.4 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/1.515, allocations: 19.81 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/1.515, allocations: 26.25 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/1.515, allocations: 41.83 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.515, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004181/1.516, allocations: 124.2 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/1.516, allocations: 105.2 kB / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.516, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.516, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.516, allocations: 27.98 kB / 1.027 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/1.516, allocations: 3.906 kB / 1.027 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/1.517, allocations: 19.98 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.517, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.517, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000299/1.517, allocations: 72.89 kB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-06/1.517, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/1.517, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/1.517, allocations: 35.91 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.517, allocations: 7.906 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.518, allocations: 15.92 kB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.518, allocations: 7.938 kB / 1.027 GB, free: 10.89 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 (13): * Single equations (assignments): 13 * 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.0001017/1.518, allocations: 102.9 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/1.518, allocations: 19.72 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/1.518, allocations: 140.3 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.518, allocations: 4 kB / 1.027 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.518, allocations: 0 / 1.027 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.518, allocations: 3.906 kB / 1.027 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/1.519, allocations: 229.6 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.519, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/1.519, allocations: 27.98 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.519, allocations: 7.906 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.519, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.519, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.519, allocations: 3.984 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004283/1.52, allocations: 235.3 kB / 1.028 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005085/1.52, allocations: 0.5886 MB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/1.52, allocations: 108.3 kB / 1.028 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/1.52, allocations: 0 / 1.028 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/1.521, allocations: 11.98 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/1.521, allocations: 11.89 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/1.521, allocations: 7.625 kB / 1.028 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001689/1.521, allocations: 141.1 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002245/1.523, allocations: 107.2 kB / 1.029 GB, free: 9.199 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 (13): * Single equations (assignments): 13 * 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.000259/1.523, allocations: 107.2 kB / 1.029 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003926/1.524, allocations: 118.1 kB / 1.029 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.524, allocations: 0 / 1.029 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.524, allocations: 33.06 kB / 1.029 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/1.524, allocations: 45.2 kB / 1.029 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/1.525, allocations: 231.8 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/1.526, allocations: 0.7739 MB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of SimCode: time 7.91e-07/1.526, allocations: 0 / 1.03 GB, free: 7.906 MB / 0.6511 GB