Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001063/0.001063, allocations: 102.9 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.001329/0.001329, allocations: 172.7 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.493/1.493, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8005, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002261/0.8028, allocations: 1.488 MB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.8039, allocations: 0.5185 MB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.8041, allocations: 3.938 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.8043, allocations: 19.86 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.8044, allocations: 19.78 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.8047, allocations: 47.95 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.805, allocations: 143.5 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.8052, allocations: 41.83 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.8053, allocations: 43.8 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8054, allocations: 47.7 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.8054, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.8055, allocations: 4 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.8055, allocations: 19.86 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.8056, allocations: 53.64 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.8057, allocations: 89.72 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8057, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8057, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.8057, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 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.0007924/0.8065, allocations: 460 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8066, allocations: 11.98 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.8067, allocations: 15.81 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.807, allocations: 222.6 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.807, allocations: 19.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.8071, allocations: 15.95 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.8074, allocations: 157.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8074, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.8075, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.8075, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.8078, allocations: 91.77 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.8089, allocations: 0.7432 MB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.8091, allocations: 50.55 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.8092, allocations: 40.84 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.8092, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.8095, allocations: 126.7 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.275e-06/0.8095, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00053/0.8101, allocations: 177.5 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.8102, allocations: 136.5 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.8104, allocations: 198.9 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.8104, allocations: 29.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.8106, allocations: 128.1 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.8106, allocations: 35.56 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.8106, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8108, allocations: 334.8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.8109, allocations: 44.34 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.8112, allocations: 154.4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.8113, allocations: 63.91 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8113, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004121/0.8118, allocations: 217.3 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8118, allocations: 8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8118, allocations: 7.984 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.8118, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.812, allocations: 35.92 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.812, allocations: 7.938 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.8121, allocations: 36.02 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.8122, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 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.0001466/0.8123, allocations: 150.6 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.8124, allocations: 15.81 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.8124, allocations: 17.41 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.8124, allocations: 4.234 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8124, allocations: 3.984 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8124, allocations: 3.984 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.8132, allocations: 0.5288 MB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8132, allocations: 4 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.8134, allocations: 23.92 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.8134, allocations: 0 / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.8134, allocations: 8 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8134, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8134, allocations: 4 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.814, allocations: 368.2 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.8141, allocations: 97.17 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.8141, allocations: 15.88 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.8143, allocations: 24.02 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.8143, allocations: 11.98 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.8143, allocations: 4 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001215/0.8145, allocations: 136.6 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8145, allocations: 4 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005913/0.8151, allocations: 28 kB / 1.029 GB, free: 9.152 MB / 0.7794 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.0001702/0.8153, allocations: 114.3 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.8157, allocations: 120.1 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.8158, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.816, allocations: 59.91 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.8169, allocations: 62.66 kB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.8179, allocations: 416.4 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.8183, allocations: 0.7206 MB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.8184, allocations: 19.44 kB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8184, allocations: 0 / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of Templates: time 0.005606/0.824, allocations: 2.095 MB / 1.033 GB, free: 5.496 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1