Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.109/2.109, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 177.7 kB / 325.5 MB, free: 2.918 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.356/2.356, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001165/0.001164, allocations: 107.1 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004931, allocations: 14.58 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.452, allocations: 132.2 MB / 1.028 GB, free: 13.08 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.4524, allocations: 83.94 kB / 1.028 GB, free: 13 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.005334/0.4577, allocations: 1.152 MB / 1.029 GB, free: 11.84 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4578, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.4578, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005912/0.4584, allocations: 375.1 kB / 1.029 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.4585, allocations: 12.03 kB / 1.029 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.4586, allocations: 30.56 kB / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.4586, allocations: 11.86 kB / 1.03 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.4588, allocations: 167 kB / 1.03 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4589, allocations: 8 kB / 1.03 GB, free: 11.15 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4589, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.4592, allocations: 61.66 kB / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4592, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4592, allocations: 8 kB / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4592, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.4595, allocations: 43.97 kB / 1.03 GB, free: 11.04 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.46, allocations: 272.8 kB / 1.03 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4602, allocations: 50.5 kB / 1.03 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4602, allocations: 3.984 kB / 1.03 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4603, allocations: 34.56 kB / 1.03 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.4603, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0005287/0.4608, allocations: 89.75 kB / 1.03 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4609, allocations: 67.3 kB / 1.03 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.461, allocations: 109 kB / 1.03 GB, free: 10.33 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4611, allocations: 25.7 kB / 1.03 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.4611, allocations: 88.12 kB / 1.03 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4612, allocations: 15.75 kB / 1.031 GB, free: 10.19 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4612, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.4614, allocations: 318.8 kB / 1.031 GB, free: 9.871 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4615, allocations: 27.98 kB / 1.031 GB, free: 9.844 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4617, allocations: 19.98 kB / 1.031 GB, free: 9.824 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4618, allocations: 20.22 kB / 1.031 GB, free: 9.805 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4618, allocations: 0 / 1.031 GB, free: 9.805 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003454/0.4622, allocations: 85.64 kB / 1.031 GB, free: 9.715 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4622, allocations: 4 kB / 1.031 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4622, allocations: 0 / 1.031 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4623, allocations: 4 kB / 1.031 GB, free: 9.707 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4625, allocations: 15.92 kB / 1.031 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4625, allocations: 4 kB / 1.031 GB, free: 9.688 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.4626, allocations: 15.95 kB / 1.031 GB, free: 9.672 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.4626, allocations: 3.938 kB / 1.031 GB, free: 9.668 MB / 0.6824 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 () * Number of clocked 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.000118/0.4627, allocations: 113.8 kB / 1.031 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.4628, allocations: 3.906 kB / 1.031 GB, free: 9.543 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.4628, allocations: 11.91 kB / 1.031 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4629, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4629, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4629, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4631, allocations: 169.6 kB / 1.031 GB, free: 9.312 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4632, allocations: 7.984 kB / 1.031 GB, free: 9.305 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4633, allocations: 12 kB / 1.031 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4633, allocations: 0 / 1.031 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4633, allocations: 0 / 1.031 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4633, allocations: 3.984 kB / 1.031 GB, free: 9.289 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4633, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.4638, allocations: 188.2 kB / 1.031 GB, free: 9.09 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.4638, allocations: 77.11 kB / 1.032 GB, free: 8.996 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4639, allocations: 3.984 kB / 1.032 GB, free: 8.992 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.464, allocations: 4 kB / 1.032 GB, free: 8.988 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.4641, allocations: 4 kB / 1.032 GB, free: 8.984 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4641, allocations: 3.984 kB / 1.032 GB, free: 8.98 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.4642, allocations: 91.28 kB / 1.032 GB, free: 8.891 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4642, allocations: 0 / 1.032 GB, free: 8.891 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002919/0.4645, allocations: 8 kB / 1.032 GB, free: 8.883 MB / 0.6824 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007584/0.4653, allocations: 0.7179 MB / 1.032 GB, free: 8.141 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.4656, allocations: 55.84 kB / 1.032 GB, free: 8.086 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4656, allocations: 0 / 1.032 GB, free: 8.086 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.4658, allocations: 27.98 kB / 1.032 GB, free: 8.059 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.466, allocations: 1.719 kB / 1.032 GB, free: 8.059 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.4667, allocations: 216.1 kB / 1.033 GB, free: 7.805 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.467, allocations: 0.6926 MB / 1.033 GB, free: 7.086 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.4671, allocations: 3.984 kB / 1.033 GB, free: 7.082 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.4672, allocations: 11.44 kB / 1.033 GB, free: 7.07 MB / 0.6824 GB Notification: Performance of SimCode: time 1.022e-06/0.4672, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.487, allocations: 1.239 MB / 1.035 GB, free: 6 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/0.4875, allocations: 211.6 kB / 1.035 GB, free: 5.758 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/2.759, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6824 GB