Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.219/2.219, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001414/0.001414, allocations: 174.9 kB / 315.4 MB, free: 3.992 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.076/2.076, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 84.31 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.26e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.128, allocations: 132 MB / 1.013 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.128, allocations: 76.58 kB / 1.013 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003357/1.132, allocations: 0.9095 MB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.132, allocations: 0 / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.132, allocations: 0 / 1.014 GB, free: 5.914 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003987/1.132, allocations: 347.5 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.132, allocations: 8.031 kB / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/1.132, allocations: 11.91 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/1.133, allocations: 194.1 kB / 1.014 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/1.133, allocations: 0 / 1.014 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.133, allocations: 7.984 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001347/1.133, allocations: 33.73 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.133, allocations: 88.44 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.133, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.133, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.133, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/1.134, allocations: 0.6102 MB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/1.134, allocations: 177.1 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/1.134, allocations: 84.08 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/1.134, allocations: 79.28 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/1.134, allocations: 108.5 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/1.134, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.177e-05/1.134, allocations: 32.89 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.134, allocations: 51.41 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.135, allocations: 116.9 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/1.135, allocations: 25.7 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/1.135, allocations: 110.4 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/1.135, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.135, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.135, allocations: 318.1 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/1.135, allocations: 3.938 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/1.135, allocations: 25.7 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/1.135, allocations: 7.984 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.135, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001554/1.135, allocations: 53.78 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.135, allocations: 5.719 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.135, allocations: 4.094 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.135, allocations: 0 / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/1.135, allocations: 8 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.135, allocations: 4.844 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/1.135, allocations: 3.906 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.135, allocations: 4 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001137/1.136, allocations: 180.2 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001111/1.136, allocations: 143.1 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/1.136, allocations: 109 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/1.136, allocations: 108.9 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-05/1.136, allocations: 180.2 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.5e-05/1.136, allocations: 180.3 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-05/1.136, allocations: 176.3 kB / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/1.137, allocations: 404.7 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/1.137, allocations: 105.5 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/1.137, allocations: 116.4 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/1.137, allocations: 188.2 kB / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/1.137, allocations: 176.3 kB / 1.018 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.324e-05/1.137, allocations: 180.2 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.99e-05/1.137, allocations: 180.3 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.137, allocations: 315 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.137, allocations: 178.1 kB / 1.019 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/1.137, allocations: 180.2 kB / 1.019 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/1.138, allocations: 105 kB / 1.019 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/1.138, allocations: 189.2 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/1.138, allocations: 101 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001022/1.138, allocations: 94.47 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.138, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003074/1.138, allocations: 11.84 kB / 1.02 GB, free: 15.56 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 (0): * Single equations (assignments): 0 * 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.0004962/1.139, allocations: 0.8083 MB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/1.139, allocations: 11.06 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.139, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/1.139, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/1.139, allocations: 0.529 MB / 1.021 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/1.14, allocations: 200.2 kB / 1.021 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.14, allocations: 0.6965 MB / 1.022 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.402e-05/1.14, allocations: 4.5 kB / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/1.14, allocations: 14.25 kB / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.126e-06/1.14, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/1.175, allocations: 0.7807 MB / 1.023 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/1.175, allocations: 159.2 kB / 1.023 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.416, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.6511 GB