Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 174.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.7 MB / 0.5505 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005852, allocations: 15.31 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3606, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002373/0.3631, allocations: 1.484 MB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3642, allocations: 0.5506 MB / 0.7899 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3643, allocations: 4 kB / 0.7899 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.3645, allocations: 15.8 kB / 0.7899 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.3646, allocations: 27.84 kB / 0.79 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3648, allocations: 51.81 kB / 0.79 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.3651, allocations: 151.5 kB / 0.7901 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3653, allocations: 33.84 kB / 0.7902 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.3654, allocations: 51.72 kB / 0.7902 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.3655, allocations: 43.72 kB / 0.7903 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3655, allocations: 4 kB / 0.7903 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.3655, allocations: 4 kB / 0.7903 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.3656, allocations: 19.91 kB / 0.7903 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.3656, allocations: 49.64 kB / 0.7903 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3658, allocations: 87.98 kB / 0.7904 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3658, allocations: 0 / 0.7904 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3658, allocations: 0 / 0.7904 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3658, allocations: 0 / 0.7904 GB, free: 9.367 MB / 0.6075 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.0008478/0.3667, allocations: 462.6 kB / 0.7909 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3667, allocations: 8.031 kB / 0.7909 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3668, allocations: 15.81 kB / 0.7909 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3671, allocations: 222.8 kB / 0.7911 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3672, allocations: 8 kB / 0.7911 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.3672, allocations: 19.91 kB / 0.7911 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3675, allocations: 149.9 kB / 0.7913 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3676, allocations: 3.938 kB / 0.7913 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3676, allocations: 0 / 0.7913 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3676, allocations: 8 kB / 0.7913 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.3678, allocations: 87.83 kB / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009919/0.3688, allocations: 0.7355 MB / 0.7921 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.369, allocations: 54.56 kB / 0.7921 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.3691, allocations: 36.83 kB / 0.7922 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3692, allocations: 4 kB / 0.7922 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.3695, allocations: 138.7 kB / 0.7923 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.3695, allocations: 0 / 0.7923 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004951/0.37, allocations: 189.5 kB / 0.7925 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3701, allocations: 136.4 kB / 0.7926 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3703, allocations: 199.5 kB / 0.7928 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3703, allocations: 33.7 kB / 0.7928 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3705, allocations: 131.8 kB / 0.793 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.3705, allocations: 31.55 kB / 0.793 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.3705, allocations: 4 kB / 0.793 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3707, allocations: 326.8 kB / 0.7933 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3708, allocations: 44.34 kB / 0.7934 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.371, allocations: 147.3 kB / 0.7935 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3712, allocations: 68.09 kB / 0.7936 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3712, allocations: 0 / 0.7936 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003831/0.3716, allocations: 217 kB / 0.7938 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3716, allocations: 8 kB / 0.7938 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3716, allocations: 4 kB / 0.7938 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3716, allocations: 4.5 kB / 0.7938 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3718, allocations: 39.92 kB / 0.7938 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.3718, allocations: 11.94 kB / 0.7938 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3719, allocations: 31.83 kB / 0.7939 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3719, allocations: 12 kB / 0.7939 GB, free: 5.496 MB / 0.6075 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.pulseStart,booleanPulse.pulseStart,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.0001285/0.3721, allocations: 129.8 kB / 0.794 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3721, allocations: 23.72 kB / 0.794 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.3722, allocations: 21.39 kB / 0.794 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3722, allocations: 4 kB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3722, allocations: 0 / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3722, allocations: 7.953 kB / 0.7941 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.373, allocations: 0.5249 MB / 0.7946 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.373, allocations: 4 kB / 0.7946 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.3731, allocations: 15.98 kB / 0.7946 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3731, allocations: 7.938 kB / 0.7946 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3731, allocations: 0 / 0.7946 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3731, allocations: 7.953 kB / 0.7946 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3731, allocations: 7.938 kB / 0.7946 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.3737, allocations: 372.1 kB / 0.795 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.3738, allocations: 96.95 kB / 0.7951 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3738, allocations: 0 / 0.7951 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.374, allocations: 19.98 kB / 0.7951 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3741, allocations: 19.94 kB / 0.7951 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3741, allocations: 8.297 kB / 0.7951 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3742, allocations: 140.6 kB / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003208/0.3746, allocations: 24 kB / 0.7953 GB, free: 3.969 MB / 0.6075 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.pulseStart,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.0001626/0.3747, allocations: 108.2 kB / 0.7954 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3751, allocations: 131.7 kB / 0.7955 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3751, allocations: 1 kB / 0.7955 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3752, allocations: 64.03 kB / 0.7956 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.3758, allocations: 59.23 kB / 0.7956 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.3764, allocations: 412.5 kB / 0.796 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3768, allocations: 0.7245 MB / 0.7967 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.3768, allocations: 19.38 kB / 0.7967 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.3768, allocations: 0 / 0.7967 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.004348/0.3812, allocations: 2.113 MB / 0.7988 GB, free: 308 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1