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.226/2.226, allocations: 251 MB / 265.9 MB, free: 11.7 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.001509/0.001508, allocations: 179 kB / 325.5 MB, free: 2.914 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.382/2.382, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001237/0.001236, allocations: 103.9 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.000521, allocations: 12.94 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.4586, allocations: 131.8 MB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.459, allocations: 83.94 kB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003334/0.4623, allocations: 0.9155 MB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4624, allocations: 0 / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.4624, allocations: 4 kB / 1.028 GB, free: 12.55 MB / 0.6823 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.0004481/0.4629, allocations: 351.2 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4629, allocations: 16.03 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.463, allocations: 34.56 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4631, allocations: 15.8 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.4633, allocations: 187 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4633, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4634, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.4636, allocations: 100.2 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4636, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4637, allocations: 4 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4637, allocations: 4 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4638, allocations: 39.97 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.4646, allocations: 0.6555 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.4648, allocations: 165.1 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.4648, allocations: 79.28 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.4649, allocations: 114.7 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.4649, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.241e-05/0.465, allocations: 41.55 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.4651, allocations: 126.7 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4653, allocations: 161.3 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4654, allocations: 25.7 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.4655, allocations: 104 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.4655, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4655, allocations: 3.938 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4657, allocations: 318.8 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.4657, allocations: 12 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.4657, allocations: 18.58 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.4658, allocations: 8 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4658, allocations: 3.953 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001668/0.466, allocations: 57.53 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.466, allocations: 8.094 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.466, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4661, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.4662, allocations: 7.938 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4662, allocations: 7.984 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.4662, allocations: 11.84 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4663, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 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 () * 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.0001523/0.4664, allocations: 195 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.4665, allocations: 116.8 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.4666, allocations: 118.4 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-05/0.4667, allocations: 180.3 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.183e-05/0.4668, allocations: 176.3 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/0.4669, allocations: 180.2 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.4672, allocations: 425.2 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/0.4673, allocations: 108.9 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.4673, allocations: 108.9 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.4674, allocations: 184.2 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.4675, allocations: 184.2 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.861e-05/0.4676, allocations: 180.2 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.471e-05/0.4677, allocations: 184.2 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.4679, allocations: 315.7 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.468, allocations: 182 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4681, allocations: 184.2 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4683, allocations: 109.8 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.4684, allocations: 184.3 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.4684, allocations: 104.9 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001745/0.4686, allocations: 127.2 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4686, allocations: 0 / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003085/0.4689, allocations: 8 kB / 1.034 GB, free: 5.945 MB / 0.6823 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 (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.0005488/0.4695, allocations: 0.8101 MB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.4696, allocations: 11.94 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4696, allocations: 0 / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.4696, allocations: 0 / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.4701, allocations: 0.5342 MB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.4714, allocations: 0.9193 MB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4718, allocations: 0.6965 MB / 1.037 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.4718, allocations: 11.84 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.4719, allocations: 15.44 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.4719, allocations: 4 kB / 1.037 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.4914, allocations: 1.456 MB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.4918, allocations: 190.1 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.768, allocations: 3.938 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB