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.001093/0.001093, allocations: 92.31 kB / 16.02 MB, free: 80 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.00146/0.001459, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.934/1.934, allocations: 205.4 MB / 223.1 MB, free: 5.574 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.886/1.886, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005838/0.0005838, allocations: 14.56 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.342, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002581/0.3446, allocations: 1.527 MB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3458, allocations: 0.562 MB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.346, allocations: 7.938 kB / 0.7906 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3461, allocations: 11.86 kB / 0.7906 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.3462, allocations: 23.78 kB / 0.7906 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3465, allocations: 59.94 kB / 0.7907 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.3468, allocations: 163.4 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3469, allocations: 49.64 kB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.347, allocations: 43.73 kB / 0.7909 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.3471, allocations: 51.7 kB / 0.791 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.3472, allocations: 4 kB / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.3472, allocations: 4 kB / 0.791 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.3472, allocations: 19.86 kB / 0.791 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3474, allocations: 85.3 kB / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3475, allocations: 92 kB / 0.7912 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3476, allocations: 0 / 0.7912 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.658e-06/0.3476, allocations: 0 / 0.7912 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3476, allocations: 0 / 0.7912 GB, free: 8.875 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.0008972/0.3485, allocations: 454.9 kB / 0.7916 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3485, allocations: 8.031 kB / 0.7916 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.3486, allocations: 20.69 kB / 0.7916 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.349, allocations: 231.9 kB / 0.7918 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.349, allocations: 8.375 kB / 0.7919 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.3491, allocations: 12.38 kB / 0.7919 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3494, allocations: 154.2 kB / 0.792 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3494, allocations: 0 / 0.792 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.3494, allocations: 8 kB / 0.792 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3495, allocations: 0 / 0.792 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.3497, allocations: 83.88 kB / 0.7921 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3508, allocations: 0.7585 MB / 0.7928 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.351, allocations: 50.56 kB / 0.7929 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3511, allocations: 40.83 kB / 0.7929 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3512, allocations: 0 / 0.7929 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.3515, allocations: 130.7 kB / 0.793 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 4.629e-06/0.3515, allocations: 3.984 kB / 0.7931 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005431/0.352, allocations: 181.5 kB / 0.7932 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.3522, allocations: 136.5 kB / 0.7934 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3524, allocations: 203.5 kB / 0.7936 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3525, allocations: 29.7 kB / 0.7936 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3526, allocations: 131.8 kB / 0.7937 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.3527, allocations: 39.75 kB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3527, allocations: 29.7 kB / 0.7938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3529, allocations: 326.8 kB / 0.7941 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3531, allocations: 43.97 kB / 0.7941 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3533, allocations: 148.9 kB / 0.7943 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3537, allocations: 214.3 kB / 0.7945 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3537, allocations: 4 kB / 0.7945 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004386/0.3542, allocations: 225 kB / 0.7947 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3542, allocations: 4 kB / 0.7947 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3542, allocations: 4 kB / 0.7947 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3542, allocations: 4.5 kB / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3544, allocations: 39.92 kB / 0.7947 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3544, allocations: 4 kB / 0.7947 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3546, allocations: 31.83 kB / 0.7948 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3546, allocations: 15.98 kB / 0.7948 GB, free: 4.766 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3548, allocations: 137.7 kB / 0.7949 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.3548, allocations: 19.81 kB / 0.7949 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.3549, allocations: 29.33 kB / 0.795 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3549, allocations: 0 / 0.795 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3549, allocations: 0 / 0.795 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3549, allocations: 4 kB / 0.795 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.3558, allocations: 0.521 MB / 0.7955 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3558, allocations: 7.938 kB / 0.7955 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.356, allocations: 16.3 kB / 0.7955 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.356, allocations: 4 kB / 0.7955 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.356, allocations: 8 kB / 0.7955 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.356, allocations: 8 kB / 0.7955 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.356, allocations: 3.938 kB / 0.7955 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.3566, allocations: 368.2 kB / 0.7959 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.3567, allocations: 88.97 kB / 0.796 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3567, allocations: 7.984 kB / 0.796 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3569, allocations: 23.92 kB / 0.796 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.357, allocations: 19.86 kB / 0.796 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.357, allocations: 8 kB / 0.796 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001206/0.3571, allocations: 136.6 kB / 0.7961 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3572, allocations: 4 kB / 0.7962 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003244/0.3575, allocations: 24 kB / 0.7962 GB, free: 3.234 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.3577, allocations: 118.2 kB / 0.7963 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.358, allocations: 124.1 kB / 0.7964 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3581, allocations: 1 kB / 0.7964 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.3582, allocations: 63.97 kB / 0.7965 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.3589, allocations: 62.02 kB / 0.7965 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.3596, allocations: 432.5 kB / 0.7969 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.36, allocations: 0.7245 MB / 0.7976 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3601, allocations: 15.44 kB / 0.7977 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3601, allocations: 0 / 0.7977 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.00471/0.3648, allocations: 2.113 MB / 0.7997 GB, free: 15.55 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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