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 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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.176/4.176, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.92e-05, allocations: 5.281 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 98.74 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.4637, allocations: 125.8 MB / 0.7517 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004474/0.4642, allocations: 79.95 kB / 0.7518 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.4798, allocations: 3.417 MB / 0.7551 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4798, allocations: 0.875 kB / 0.7551 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.4799, allocations: 7.938 kB / 0.7551 GB, free: 7.688 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.0007513/0.4806, allocations: 434.6 kB / 0.7556 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4807, allocations: 12.03 kB / 0.7556 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.4807, allocations: 19.77 kB / 0.7556 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4811, allocations: 226.7 kB / 0.7558 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4811, allocations: 4 kB / 0.7558 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.4812, allocations: 11.94 kB / 0.7558 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/0.4813, allocations: 32 kB / 0.7558 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.4816, allocations: 129.6 kB / 0.756 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4816, allocations: 0 / 0.756 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4816, allocations: 0 / 0.756 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.4817, allocations: 7.953 kB / 0.756 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.4829, allocations: 0.7243 MB / 0.7567 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.4831, allocations: 34.58 kB / 0.7567 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.4831, allocations: 24.8 kB / 0.7567 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4832, allocations: 0 / 0.7567 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.4834, allocations: 110.8 kB / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.4834, allocations: 0 / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002934/0.4837, allocations: 101.3 kB / 0.7569 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.4838, allocations: 132.5 kB / 0.7571 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.484, allocations: 157.7 kB / 0.7572 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.484, allocations: 25.7 kB / 0.7572 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4841, allocations: 135.8 kB / 0.7574 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.4842, allocations: 31.62 kB / 0.7574 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.4842, allocations: 4 kB / 0.7574 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4843, allocations: 330.8 kB / 0.7577 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.4844, allocations: 20.38 kB / 0.7577 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4846, allocations: 123.2 kB / 0.7579 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4847, allocations: 43.91 kB / 0.7579 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4847, allocations: 0 / 0.7579 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003695/0.4851, allocations: 153.2 kB / 0.758 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4852, allocations: 11.98 kB / 0.7581 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4852, allocations: 4 kB / 0.7581 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4852, allocations: 4 kB / 0.7581 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4855, allocations: 44.36 kB / 0.7581 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4855, allocations: 4 kB / 0.7581 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.4857, allocations: 31.83 kB / 0.7581 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.4858, allocations: 12.06 kB / 0.7582 GB, free: 4.281 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 () * 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.0001067/0.4859, allocations: 124.8 kB / 0.7583 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002292/0.4861, allocations: 101.4 kB / 0.7584 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.4862, allocations: 19.81 kB / 0.7584 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.4862, allocations: 17.91 kB / 0.7584 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4863, allocations: 0 / 0.7584 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4863, allocations: 4 kB / 0.7584 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4863, allocations: 3.984 kB / 0.7584 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.4871, allocations: 458.2 kB / 0.7589 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4872, allocations: 4 kB / 0.7589 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4874, allocations: 23.98 kB / 0.7589 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.4874, allocations: 4 kB / 0.7589 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4874, allocations: 3.984 kB / 0.7589 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4875, allocations: 4 kB / 0.7589 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4875, allocations: 3.938 kB / 0.7589 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.4879, allocations: 341.4 kB / 0.7592 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.488, allocations: 100.9 kB / 0.7593 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.488, allocations: 0 / 0.7593 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.4883, allocations: 16.03 kB / 0.7593 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4884, allocations: 19.91 kB / 0.7593 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.4885, allocations: 4 kB / 0.7594 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001346/0.4886, allocations: 128.3 kB / 0.7595 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4886, allocations: 3.938 kB / 0.7595 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004679/0.4891, allocations: 27.91 kB / 0.7595 GB, free: 2.773 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 () * 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.0007649/0.4899, allocations: 1.089 MB / 0.7606 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.4901, allocations: 84.28 kB / 0.7606 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4902, allocations: 0 / 0.7606 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4903, allocations: 35.94 kB / 0.7607 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.491, allocations: 59.08 kB / 0.7607 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.4919, allocations: 306.1 kB / 0.761 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4923, allocations: 0.728 MB / 0.7617 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.4924, allocations: 17.33 kB / 0.7618 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4925, allocations: 51.42 kB / 0.7618 GB, free: 312 kB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.4925, allocations: 3.938 kB / 0.7618 GB, free: 308 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.5256, allocations: 2.998 MB / 0.7647 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.5259, allocations: 155.1 kB / 0.7649 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/2.963, allocations: 0 / 0.7649 GB, free: 13.12 MB / 0.6511 GB