Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01118/0.01118, allocations: 108.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001257/0.001257, allocations: 183.1 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.06/2.06, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.227/2.227, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004881, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6712, allocations: 98.72 MB / 0.6834 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.8989, allocations: 126.5 MB / 0.807 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.8993, allocations: 71.97 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.9144, allocations: 3.45 MB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.816e-06/0.9144, allocations: 0 / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.9145, allocations: 4 kB / 0.8104 GB, free: 12.1 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000875/0.9154, allocations: 459.3 kB / 0.8109 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9154, allocations: 12.02 kB / 0.8109 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.9155, allocations: 42.56 kB / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.9156, allocations: 19.72 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.9159, allocations: 226.7 kB / 0.8112 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.9159, allocations: 8 kB / 0.8112 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.916, allocations: 15.98 kB / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.9164, allocations: 160.8 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9165, allocations: 0 / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9165, allocations: 0 / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.9165, allocations: 4 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.9169, allocations: 91.83 kB / 0.8114 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.9185, allocations: 0.755 MB / 0.8122 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.9188, allocations: 54.5 kB / 0.8122 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.9188, allocations: 0 / 0.8122 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004124/0.9192, allocations: 135.2 kB / 0.8124 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.9192, allocations: 0 / 0.8124 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008342/0.9201, allocations: 177.5 kB / 0.8125 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.9202, allocations: 140.6 kB / 0.8127 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.9205, allocations: 182.7 kB / 0.8128 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.9205, allocations: 29.7 kB / 0.8129 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.9206, allocations: 127.9 kB / 0.813 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.9207, allocations: 31.56 kB / 0.813 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.9207, allocations: 0 / 0.813 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9209, allocations: 334.8 kB / 0.8133 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.9211, allocations: 48.34 kB / 0.8134 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.9215, allocations: 148.8 kB / 0.8135 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.9217, allocations: 68.08 kB / 0.8136 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9217, allocations: 4 kB / 0.8136 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000683/0.9224, allocations: 209.4 kB / 0.8138 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.9225, allocations: 11.94 kB / 0.8138 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9225, allocations: 4 kB / 0.8138 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.9225, allocations: 7.984 kB / 0.8138 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.9228, allocations: 31.98 kB / 0.8138 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.9228, allocations: 7.938 kB / 0.8138 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.9231, allocations: 39.97 kB / 0.8139 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.9231, allocations: 8.25 kB / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001704/0.9233, allocations: 137.8 kB / 0.814 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.9234, allocations: 15.81 kB / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.9234, allocations: 17.41 kB / 0.8141 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.9234, allocations: 8 kB / 0.8141 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.9235, allocations: 3.984 kB / 0.8141 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.9235, allocations: 4 kB / 0.8141 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.9247, allocations: 0.5289 MB / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9247, allocations: 0 / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.925, allocations: 23.92 kB / 0.8146 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.925, allocations: 0 / 0.8146 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.925, allocations: 11.94 kB / 0.8146 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.9251, allocations: 3.953 kB / 0.8146 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9251, allocations: 4 kB / 0.8146 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.926, allocations: 413.2 kB / 0.815 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.9261, allocations: 92.92 kB / 0.8151 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.9261, allocations: 4.031 kB / 0.8151 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.9264, allocations: 19.98 kB / 0.8151 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.9265, allocations: 11.98 kB / 0.8151 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.9265, allocations: 4 kB / 0.8151 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001695/0.9267, allocations: 144.6 kB / 0.8153 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9267, allocations: 0 / 0.8153 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004927/0.9272, allocations: 24 kB / 0.8153 GB, free: 6.645 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001281/0.9285, allocations: 1.159 MB / 0.8164 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006109/0.9292, allocations: 124.1 kB / 0.8166 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.9292, allocations: 3.938 kB / 0.8166 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.9294, allocations: 51.91 kB / 0.8166 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.9301, allocations: 67.27 kB / 0.8167 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.9336, allocations: 3.529 MB / 0.8201 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.934, allocations: 0.7323 MB / 0.8208 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.9342, allocations: 13.55 kB / 0.8209 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.9343, allocations: 51.42 kB / 0.8209 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.9343, allocations: 0 / 0.8209 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.9597, allocations: 3.547 MB / 0.8244 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/0.9601, allocations: 177.5 kB / 0.8245 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.543, allocations: 0 / 0.8245 GB, free: 13.05 MB / 0.6511 GB