Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_9_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.0007901/0.0007899, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009347/0.000935, allocations: 177.2 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003778, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9324/0.9328, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002466/0.9353, allocations: 1.481 MB / 0.9558 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.9363, allocations: 0.5086 MB / 0.9563 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.9365, allocations: 2.812 kB / 0.9563 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.9366, allocations: 21.12 kB / 0.9564 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.9367, allocations: 14.75 kB / 0.9564 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.937, allocations: 61.3 kB / 0.9564 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.9372, allocations: 146.1 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.9373, allocations: 35.28 kB / 0.9566 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.9374, allocations: 48.69 kB / 0.9567 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.9375, allocations: 48.09 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.9376, allocations: 4.594 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.9376, allocations: 4.188 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.9376, allocations: 20.31 kB / 0.9567 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.9377, allocations: 50.14 kB / 0.9568 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.9379, allocations: 83.81 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.9379, allocations: 0 / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9379, allocations: 1.188 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9379, allocations: 0 / 0.9569 GB, free: 6.121 MB / 0.7169 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.0007787/0.9387, allocations: 463.4 kB / 0.9573 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.9387, allocations: 9.844 kB / 0.9573 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.9388, allocations: 21.27 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.9391, allocations: 227.7 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.9391, allocations: 12.12 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.9391, allocations: 20.78 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.9395, allocations: 146.5 kB / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9395, allocations: 0 / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.9395, allocations: 6.062 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.9395, allocations: 10.98 kB / 0.9577 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.9398, allocations: 79.72 kB / 0.9578 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.9406, allocations: 0.7497 MB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.9407, allocations: 54.14 kB / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.9409, allocations: 36.06 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.9409, allocations: 2.469 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.9412, allocations: 137 kB / 0.9588 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.9412, allocations: 0 / 0.9588 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004686/0.9416, allocations: 178.2 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.9417, allocations: 135.3 kB / 0.9591 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.9419, allocations: 203.3 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.9419, allocations: 27.23 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.942, allocations: 131.4 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.942, allocations: 36.34 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.942, allocations: 5.281 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.9421, allocations: 331.2 kB / 0.9598 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.9422, allocations: 42.69 kB / 0.9598 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.9424, allocations: 143.3 kB / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.9426, allocations: 68.59 kB / 0.96 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9426, allocations: 2.344 kB / 0.96 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003962/0.943, allocations: 214 kB / 0.9602 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9431, allocations: 7.219 kB / 0.9602 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9431, allocations: 11.53 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9431, allocations: 5.875 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.9432, allocations: 45.72 kB / 0.9603 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9433, allocations: 5.375 kB / 0.9603 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.9434, allocations: 28.55 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.9434, allocations: 12.53 kB / 0.9603 GB, free: 3.02 MB / 0.7169 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 9.668e-05/0.9435, allocations: 132.8 kB / 0.9605 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.9436, allocations: 21.42 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.9436, allocations: 21.53 kB / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.9436, allocations: 6.703 kB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.9436, allocations: 1.375 kB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.9436, allocations: 1.609 kB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.9444, allocations: 0.5266 MB / 0.961 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.9444, allocations: 1.375 kB / 0.961 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.9445, allocations: 27.06 kB / 0.961 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.9445, allocations: 1.375 kB / 0.961 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.9446, allocations: 5.359 kB / 0.9611 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9446, allocations: 7.062 kB / 0.9611 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9446, allocations: 5.312 kB / 0.9611 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.9451, allocations: 369.7 kB / 0.9614 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.9451, allocations: 98.36 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.9451, allocations: 6.703 kB / 0.9615 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.9453, allocations: 18.97 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.9454, allocations: 21.47 kB / 0.9616 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9454, allocations: 4.062 kB / 0.9616 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001147/0.9455, allocations: 145.3 kB / 0.9617 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9455, allocations: 0 / 0.9617 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000331/0.9459, allocations: 26.44 kB / 0.9617 GB, free: 1.809 MB / 0.7169 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.0001547/0.946, allocations: 109.5 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.9464, allocations: 128.9 kB / 0.9619 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9464, allocations: 2.344 kB / 0.962 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.9466, allocations: 63.05 kB / 0.962 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.9472, allocations: 63.06 kB / 0.9621 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.9479, allocations: 415.3 kB / 0.9625 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.9482, allocations: 0.7298 MB / 0.9632 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.9483, allocations: 17.31 kB / 0.9632 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.9483, allocations: 0 / 0.9632 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of Templates: time 0.004394/0.9527, allocations: 2.099 MB / 0.9652 GB, free: 15.45 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1