Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.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.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_Printer",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.391/2.391, allocations: 248.6 MB / 255.9 MB, free: 7.152 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.003136/0.003136, allocations: 185.2 kB / 315.1 MB, free: 4.285 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.922/1.922, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001246/0.001246, allocations: 94.42 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4906/0.4919, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.7363, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7685/1.505, allocations: 133.5 MB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.505, allocations: 84.39 kB / 1.014 GB, free: 6.688 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01489/1.52, allocations: 3.194 MB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.52, allocations: 8 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/1.52, allocations: 19.81 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/1.521, allocations: 209.7 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.521, allocations: 3.438 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/1.521, allocations: 11.94 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/1.521, allocations: 38.3 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/1.521, allocations: 97.38 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.521, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.522, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.522, allocations: 4 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/1.523, allocations: 451.3 kB / 1.018 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/1.523, allocations: 67.7 kB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/1.523, allocations: 28.28 kB / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.523, allocations: 4 kB / 1.018 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/1.523, allocations: 121.4 kB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.736e-06/1.523, allocations: 0 / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0003473/1.524, allocations: 98.94 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/1.524, allocations: 85.05 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/1.524, allocations: 151.1 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/1.524, allocations: 33.14 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/1.524, allocations: 91.53 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/1.524, allocations: 30.75 kB / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/1.524, allocations: 0 / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.524, allocations: 325.8 kB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/1.524, allocations: 18.88 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/1.524, allocations: 95.38 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.525, allocations: 26.22 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.525, allocations: 7.938 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00031/1.525, allocations: 119.7 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.525, allocations: 4 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.525, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.525, allocations: 4 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.525, allocations: 32.19 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.525, allocations: 4 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/1.525, allocations: 20.02 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/1.525, allocations: 10.88 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001446/1.526, allocations: 117.4 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/1.526, allocations: 15.81 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/1.526, allocations: 21.02 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.526, allocations: 4 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.526, allocations: 4 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.526, allocations: 0 / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007545/1.527, allocations: 466.9 kB / 1.02 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.527, allocations: 4 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.527, allocations: 18.42 kB / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.527, allocations: 0 / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.527, allocations: 7.984 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.527, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.527, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003825/1.527, allocations: 289.7 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004801/1.528, allocations: 0.6453 MB / 1.021 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/1.528, allocations: 92.92 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/1.528, allocations: 4 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/1.528, allocations: 23.97 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/1.528, allocations: 15.05 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/1.528, allocations: 8 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000112/1.529, allocations: 109.6 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001356/1.53, allocations: 50.58 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005661/1.53, allocations: 205 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003006/1.531, allocations: 62.38 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.531, allocations: 4 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.531, allocations: 38.86 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/1.531, allocations: 19.86 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/1.532, allocations: 169.2 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/1.533, allocations: 0.734 MB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/1.533, allocations: 0 / 1.022 GB, free: 14.56 MB / 0.6511 GB