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.0125/0.0125, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001158/0.001158, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.954/3.954, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.12/4.12, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006956, allocations: 15.94 kB / 1.008 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6176, allocations: 98.71 MB / 1.104 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002391/0.62, allocations: 1.465 MB / 1.106 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.6214, allocations: 0.5442 MB / 1.106 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.6216, allocations: 4.781 kB / 1.106 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.6216, allocations: 11.86 kB / 1.106 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.6218, allocations: 26.23 kB / 1.106 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.6221, allocations: 47.94 kB / 1.106 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.6224, allocations: 151.5 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.6226, allocations: 35.97 kB / 1.106 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.6226, allocations: 47.77 kB / 1.106 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.6227, allocations: 43.72 kB / 1.106 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.6228, allocations: 4.969 kB / 1.106 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.6228, allocations: 8 kB / 1.106 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.6229, allocations: 20.42 kB / 1.106 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.6229, allocations: 45.64 kB / 1.107 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.6231, allocations: 81.97 kB / 1.107 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6231, allocations: 7.938 kB / 1.107 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6231, allocations: 0.9375 kB / 1.107 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6231, allocations: 0 / 1.107 GB, free: 8.098 MB / 0.5105 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.0008405/0.624, allocations: 461.8 kB / 1.107 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.624, allocations: 8.031 kB / 1.107 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.6241, allocations: 47.52 kB / 1.107 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.6241, allocations: 27.67 kB / 1.107 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.6244, allocations: 218.7 kB / 1.107 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.6244, allocations: 8.531 kB / 1.107 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.6245, allocations: 16.92 kB / 1.107 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.6249, allocations: 154.5 kB / 1.107 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6249, allocations: 0.5938 kB / 1.107 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.6249, allocations: 4 kB / 1.107 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6249, allocations: 9.422 kB / 1.108 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.6253, allocations: 81.22 kB / 1.108 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.6264, allocations: 0.744 MB / 1.108 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.6267, allocations: 57.14 kB / 1.108 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.6268, allocations: 37.86 kB / 1.108 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.6269, allocations: 4 kB / 1.108 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.6272, allocations: 126 kB / 1.109 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.6273, allocations: 6.438 kB / 1.109 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0007152/0.628, allocations: 179.3 kB / 1.109 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.6281, allocations: 133.9 kB / 1.109 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.6283, allocations: 202.7 kB / 1.109 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6283, allocations: 29.95 kB / 1.109 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.6284, allocations: 135.9 kB / 1.109 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.6284, allocations: 39.59 kB / 1.109 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.6285, allocations: 7.938 kB / 1.109 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.6285, allocations: 326.8 kB / 1.11 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.6287, allocations: 44.34 kB / 1.11 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.629, allocations: 146.5 kB / 1.11 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.6292, allocations: 67.92 kB / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6292, allocations: 0 / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005644/0.6298, allocations: 213 kB / 1.11 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6298, allocations: 8 kB / 1.11 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6298, allocations: 11.94 kB / 1.11 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6299, allocations: 4.5 kB / 1.11 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6301, allocations: 43.92 kB / 1.11 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6301, allocations: 4 kB / 1.11 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.6304, allocations: 27.83 kB / 1.11 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.6304, allocations: 16 kB / 1.11 GB, free: 4.191 MB / 0.5105 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.0001174/0.6305, allocations: 135.7 kB / 1.11 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.6306, allocations: 19.81 kB / 1.11 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.6306, allocations: 25.39 kB / 1.11 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6306, allocations: 3.953 kB / 1.11 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6307, allocations: 3.938 kB / 1.11 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.6307, allocations: 4 kB / 1.11 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6317, allocations: 0.521 MB / 1.111 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6317, allocations: 4 kB / 1.111 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.632, allocations: 23.94 kB / 1.111 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.632, allocations: 4 kB / 1.111 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.632, allocations: 0 / 1.111 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.632, allocations: 8 kB / 1.111 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.632, allocations: 0 / 1.111 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.6327, allocations: 374.7 kB / 1.111 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.6328, allocations: 96.86 kB / 1.111 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.6328, allocations: 8.297 kB / 1.111 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6331, allocations: 23.98 kB / 1.111 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.6332, allocations: 15.98 kB / 1.111 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6332, allocations: 4 kB / 1.111 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001215/0.6333, allocations: 136.6 kB / 1.111 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6333, allocations: 0 / 1.111 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004579/0.6338, allocations: 31.91 kB / 1.111 GB, free: 2.66 MB / 0.5105 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.0008631/0.6347, allocations: 0.9211 MB / 1.112 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.6352, allocations: 120.2 kB / 1.113 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6352, allocations: 4 kB / 1.113 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.6354, allocations: 51.91 kB / 1.113 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.6362, allocations: 61.14 kB / 1.113 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.6383, allocations: 1.125 MB / 1.114 GB, free: 252 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.6387, allocations: 0.7245 MB / 1.114 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.6388, allocations: 21.55 kB / 1.114 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.639, allocations: 51.41 kB / 1.114 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.639, allocations: 3.938 kB / 1.114 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.6664, allocations: 3.565 MB / 1.118 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.6668, allocations: 194.2 kB / 1.118 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.177, allocations: 0 / 1.118 GB, free: 11.74 MB / 0.5261 GB