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.01093/0.01093, allocations: 107.4 kB / 15.06 MB, free: 6.027 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.001145/0.001145, allocations: 181.3 kB / 15.95 MB, free: 5.953 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.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.167/2.167, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007156, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6483, allocations: 98.71 MB / 0.6834 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00229/0.6506, allocations: 1.46 MB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.6519, allocations: 0.5519 MB / 0.6854 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.6521, allocations: 2.156 kB / 0.6854 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.6521, allocations: 11.53 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.6523, allocations: 27.52 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.6525, allocations: 51.5 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.6529, allocations: 118.8 kB / 0.6856 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.653, allocations: 36 kB / 0.6856 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.6531, allocations: 43.67 kB / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.6532, allocations: 46.55 kB / 0.6857 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.6533, allocations: 4.375 kB / 0.6857 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.6533, allocations: 4.594 kB / 0.6857 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.6533, allocations: 16.28 kB / 0.6857 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.6534, allocations: 51.02 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.6536, allocations: 90.62 kB / 0.6859 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.6536, allocations: 0 / 0.6859 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6536, allocations: 0 / 0.6859 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6536, allocations: 0 / 0.6859 GB, free: 15.21 MB / 0.5261 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.0008189/0.6544, allocations: 460.1 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6545, allocations: 13.09 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.6546, allocations: 44.75 kB / 0.6864 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.6546, allocations: 29.58 kB / 0.6864 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.6549, allocations: 221.8 kB / 0.6866 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.655, allocations: 4.938 kB / 0.6866 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.655, allocations: 12.67 kB / 0.6866 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.6554, allocations: 157.1 kB / 0.6868 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6555, allocations: 0.6562 kB / 0.6868 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.6555, allocations: 6 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6555, allocations: 11.22 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.6559, allocations: 80.91 kB / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6571, allocations: 0.7415 MB / 0.6876 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.6573, allocations: 48.33 kB / 0.6876 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6573, allocations: 1.344 kB / 0.6876 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.6577, allocations: 135.2 kB / 0.6878 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.385e-06/0.6577, allocations: 1.406 kB / 0.6878 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007624/0.6585, allocations: 186.3 kB / 0.6879 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.6586, allocations: 131.3 kB / 0.6881 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6588, allocations: 202.9 kB / 0.6883 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.6589, allocations: 31.89 kB / 0.6883 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.659, allocations: 125.8 kB / 0.6884 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.659, allocations: 38.77 kB / 0.6884 GB, free: 13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.6591, allocations: 1 kB / 0.6884 GB, free: 13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.6591, allocations: 329 kB / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6594, allocations: 42.39 kB / 0.6888 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.6596, allocations: 156.1 kB / 0.689 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.6599, allocations: 59.8 kB / 0.689 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.6599, allocations: 4.969 kB / 0.689 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006461/0.6606, allocations: 213.5 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6606, allocations: 7.766 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6606, allocations: 9.125 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.6607, allocations: 9.422 kB / 0.6892 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.6609, allocations: 35.58 kB / 0.6893 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6609, allocations: 13.33 kB / 0.6893 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.6612, allocations: 32.62 kB / 0.6893 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.6612, allocations: 9 kB / 0.6893 GB, free: 12.36 MB / 0.5261 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,sampleTrigger.y,$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.0001426/0.6614, allocations: 140.9 kB / 0.6895 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.6614, allocations: 17.5 kB / 0.6895 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.6615, allocations: 21.47 kB / 0.6895 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6615, allocations: 6.453 kB / 0.6895 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6615, allocations: 1.281 kB / 0.6895 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6615, allocations: 1.922 kB / 0.6895 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.6627, allocations: 0.5232 MB / 0.69 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6627, allocations: 1.25 kB / 0.69 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.663, allocations: 22.19 kB / 0.69 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.663, allocations: 13.48 kB / 0.6901 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.663, allocations: 3.016 kB / 0.6901 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.6631, allocations: 7.062 kB / 0.6901 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6631, allocations: 1.094 kB / 0.6901 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007605/0.6638, allocations: 412.6 kB / 0.6905 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.6639, allocations: 97.98 kB / 0.6906 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.664, allocations: 7.062 kB / 0.6906 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.6642, allocations: 17.05 kB / 0.6906 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.6643, allocations: 14.7 kB / 0.6906 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.6644, allocations: 4.359 kB / 0.6906 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000158/0.6645, allocations: 140.3 kB / 0.6907 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6645, allocations: 4.812 kB / 0.6907 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004818/0.665, allocations: 36.11 kB / 0.6908 GB, free: 11.2 MB / 0.5261 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,sampleTrigger.y,$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.000976/0.666, allocations: 1.148 MB / 0.6919 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.6666, allocations: 121.8 kB / 0.692 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6666, allocations: 5.25 kB / 0.692 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.6668, allocations: 52.66 kB / 0.6921 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.6675, allocations: 55.38 kB / 0.6921 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.6704, allocations: 3.519 MB / 0.6955 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.6707, allocations: 0.7249 MB / 0.6963 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.6709, allocations: 20.22 kB / 0.6963 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.6711, allocations: 53.44 kB / 0.6963 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/0.6711, allocations: 1.188 kB / 0.6963 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.6954, allocations: 3.547 MB / 0.6998 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.6956, allocations: 181 kB / 0.7 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.335, allocations: 0 / 0.7 GB, free: 5.328 MB / 0.5261 GB