Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.271/4.271, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.485e-05, allocations: 4.031 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2343, allocations: 98.72 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4697, allocations: 124.1 MB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.47, allocations: 79.95 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003259/0.4733, allocations: 0.9072 MB / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4734, allocations: 0 / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4734, allocations: 4 kB / 0.7511 GB, free: 11.83 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.000361/0.4738, allocations: 334.5 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4738, allocations: 12.03 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.4739, allocations: 15.84 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4741, allocations: 190.8 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4742, allocations: 8 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4742, allocations: 4 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/0.4743, allocations: 35.98 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4745, allocations: 84.25 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4745, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4746, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4746, allocations: 4 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.4754, allocations: 0.6133 MB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.4755, allocations: 165.1 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.4755, allocations: 88.08 kB / 0.7526 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.4755, allocations: 75.28 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.4756, allocations: 105.8 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.4756, allocations: 4 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.435e-05/0.4757, allocations: 33.64 kB / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4758, allocations: 51.41 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4759, allocations: 113 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4759, allocations: 25.7 kB / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.476, allocations: 107.8 kB / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.476, allocations: 0 / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.476, allocations: 0 / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4762, allocations: 319.5 kB / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.4762, allocations: 4 kB / 0.7534 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4762, allocations: 22.58 kB / 0.7534 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.4763, allocations: 7.984 kB / 0.7534 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4763, allocations: 0 / 0.7534 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001421/0.4765, allocations: 53.66 kB / 0.7534 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4765, allocations: 8 kB / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4765, allocations: 0 / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4765, allocations: 0 / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.4766, allocations: 7.984 kB / 0.7535 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4766, allocations: 3.938 kB / 0.7535 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.4767, allocations: 7.906 kB / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4767, allocations: 3.938 kB / 0.7535 GB, free: 9.125 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.0001018/0.4768, allocations: 180.3 kB / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.605e-05/0.4769, allocations: 140.2 kB / 0.7538 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.477, allocations: 108.9 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.4771, allocations: 116.7 kB / 0.754 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/0.4772, allocations: 176.3 kB / 0.7542 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-05/0.4773, allocations: 180.2 kB / 0.7543 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.406e-05/0.4773, allocations: 176.3 kB / 0.7545 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.4776, allocations: 409.7 kB / 0.7549 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/0.4777, allocations: 108.9 kB / 0.755 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.4777, allocations: 105 kB / 0.7551 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.155e-05/0.4778, allocations: 176.3 kB / 0.7553 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.4779, allocations: 184.2 kB / 0.7554 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.917e-05/0.478, allocations: 180.3 kB / 0.7556 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-05/0.4781, allocations: 180.3 kB / 0.7558 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.4782, allocations: 307.7 kB / 0.7561 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.4783, allocations: 186 kB / 0.7563 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.4784, allocations: 180.3 kB / 0.7564 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4786, allocations: 117 kB / 0.7565 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.4786, allocations: 184.2 kB / 0.7567 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.4787, allocations: 108.9 kB / 0.7568 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.4788, allocations: 87.28 kB / 0.7569 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4788, allocations: 0 / 0.7569 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002988/0.4791, allocations: 15.84 kB / 0.7569 GB, free: 5.379 MB / 0.6355 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.0005176/0.4796, allocations: 0.8126 MB / 0.7577 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.4797, allocations: 11.94 kB / 0.7577 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4798, allocations: 0 / 0.7577 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.4798, allocations: 384 / 0.7577 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4801, allocations: 0.524 MB / 0.7582 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4807, allocations: 200.9 kB / 0.7584 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.481, allocations: 0.6924 MB / 0.7591 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.481, allocations: 4 kB / 0.7591 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.4811, allocations: 15.44 kB / 0.7591 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.4811, allocations: 4 kB / 0.7591 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.5152, allocations: 0.7776 MB / 0.7599 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/0.5156, allocations: 155 kB / 0.76 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.708, allocations: 4 kB / 0.76 GB, free: 2.051 MB / 0.6355 GB