Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadModel(Buildings): time 3.968/3.968, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.297e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5061, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.6983, allocations: 124.1 MB / 0.7501 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6986, allocations: 79.94 kB / 0.7502 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002941/0.7015, allocations: 0.9162 MB / 0.7511 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7015, allocations: 0 / 0.7511 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7016, allocations: 4 kB / 0.7511 GB, free: 2.457 MB / 0.6198 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.0003584/0.7019, allocations: 342.4 kB / 0.7514 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.702, allocations: 8.031 kB / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.7021, allocations: 11.86 kB / 0.7514 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.7023, allocations: 182.9 kB / 0.7516 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7023, allocations: 4 kB / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.7023, allocations: 4 kB / 0.7516 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.7025, allocations: 31.98 kB / 0.7516 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.7026, allocations: 92.19 kB / 0.7517 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7027, allocations: 3.938 kB / 0.7517 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7027, allocations: 0 / 0.7517 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-06/0.7027, allocations: 4 kB / 0.7517 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.7034, allocations: 0.6133 MB / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7035, allocations: 169.1 kB / 0.7525 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.7036, allocations: 80.14 kB / 0.7526 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.7036, allocations: 79.28 kB / 0.7526 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.7037, allocations: 113.8 kB / 0.7528 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.951e-06/0.7037, allocations: 0 / 0.7528 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.891e-05/0.7038, allocations: 25.7 kB / 0.7528 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.7038, allocations: 51.41 kB / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.704, allocations: 113 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.704, allocations: 25.7 kB / 0.753 GB, free: 336 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.7041, allocations: 111.8 kB / 0.7531 GB, free: 220 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-06/0.7041, allocations: 0 / 0.7531 GB, free: 220 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-06/0.7041, allocations: 0 / 0.7531 GB, free: 220 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7043, allocations: 318.8 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.7043, allocations: 3.938 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.7044, allocations: 30.5 kB / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.7044, allocations: 10.14 kB / 0.7534 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-06/0.7044, allocations: 0 / 0.7534 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001459/0.7046, allocations: 49.59 kB / 0.7535 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.7046, allocations: 8 kB / 0.7535 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7047, allocations: 0 / 0.7535 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7047, allocations: 0 / 0.7535 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.7047, allocations: 7.984 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-06/0.7048, allocations: 4 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.7048, allocations: 3.906 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-06/0.7048, allocations: 4.094 kB / 0.7535 GB, free: 15.76 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.0001133/0.7049, allocations: 180.3 kB / 0.7537 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.705, allocations: 108.9 kB / 0.7538 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.7051, allocations: 116.7 kB / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/0.7052, allocations: 180.2 kB / 0.754 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.781e-05/0.7053, allocations: 187.2 kB / 0.7542 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-05/0.7054, allocations: 180.3 kB / 0.7544 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.7058, allocations: 401.8 kB / 0.7548 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/0.7058, allocations: 104.9 kB / 0.7549 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.7059, allocations: 101 kB / 0.755 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/0.706, allocations: 180.7 kB / 0.7552 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/0.7061, allocations: 196.1 kB / 0.7553 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.432e-05/0.7062, allocations: 180.3 kB / 0.7555 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-05/0.7063, allocations: 176.3 kB / 0.7557 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.7065, allocations: 303.8 kB / 0.756 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.7066, allocations: 190 kB / 0.7561 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7067, allocations: 184.2 kB / 0.7563 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7068, allocations: 104.9 kB / 0.7564 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.707, allocations: 180.3 kB / 0.7566 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.707, allocations: 108.9 kB / 0.7567 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.071e-05/0.7071, allocations: 95.66 kB / 0.7568 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7071, allocations: 0 / 0.7568 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003094/0.7074, allocations: 11.94 kB / 0.7568 GB, free: 12.16 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.0001622/0.7076, allocations: 178.5 kB / 0.757 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.272e-05/0.7077, allocations: 8 kB / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.662e-06/0.7077, allocations: 0 / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-06/0.7077, allocations: 0 / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.7081, allocations: 0.5303 MB / 0.7575 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.7084, allocations: 151.3 kB / 0.7576 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.7088, allocations: 0.7001 MB / 0.7583 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.7089, allocations: 3.938 kB / 0.7583 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.7089, allocations: 11.44 kB / 0.7583 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.366e-06/0.7089, allocations: 0 / 0.7583 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.002337/0.7112, allocations: 240.9 kB / 0.7586 GB, free: 10.28 MB / 0.6355 GB