Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, 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.002111/0.002111, allocations: 177.2 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.905/1.905, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.947/1.947, allocations: 292.7 MB / 0.5509 GB, free: 14.5 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.0006246/0.0006247, allocations: 17.34 kB / 0.675 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3357, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001382/0.3372, allocations: 0.6044 MB / 0.7891 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.3393, allocations: 1.176 MB / 0.7903 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3395, allocations: 8 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.3395, allocations: 3.938 kB / 0.7903 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3397, allocations: 19.78 kB / 0.7903 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.3404, allocations: 130.8 kB / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.3406, allocations: 155.6 kB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.3408, allocations: 33.11 kB / 0.7906 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3409, allocations: 51.83 kB / 0.7907 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3411, allocations: 51.81 kB / 0.7907 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3411, allocations: 11.94 kB / 0.7907 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.3412, allocations: 19.98 kB / 0.7908 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.3412, allocations: 19.91 kB / 0.7908 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3414, allocations: 77.48 kB / 0.7909 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3415, allocations: 123.9 kB / 0.791 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3416, allocations: 0 / 0.791 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3416, allocations: 0 / 0.791 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3416, allocations: 4 kB / 0.791 GB, free: 9.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008529/0.3424, allocations: 424.9 kB / 0.7914 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.3425, allocations: 11.97 kB / 0.7914 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.3426, allocations: 12.84 kB / 0.7914 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.3432, allocations: 268.1 kB / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.3432, allocations: 12.36 kB / 0.7917 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.3433, allocations: 12.38 kB / 0.7917 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3436, allocations: 97.3 kB / 0.7918 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3436, allocations: 3.938 kB / 0.7918 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3436, allocations: 7.938 kB / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3436, allocations: 0 / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.3438, allocations: 59.89 kB / 0.7918 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.3446, allocations: 388.5 kB / 0.7922 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3448, allocations: 46.5 kB / 0.7923 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3449, allocations: 28.83 kB / 0.7923 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3449, allocations: 8.125 kB / 0.7923 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.3452, allocations: 95.27 kB / 0.7924 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.477e-06/0.3452, allocations: 0 / 0.7924 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004599/0.3457, allocations: 145.5 kB / 0.7925 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3458, allocations: 63.28 kB / 0.7926 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3459, allocations: 140.6 kB / 0.7927 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.346, allocations: 33.7 kB / 0.7927 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.3461, allocations: 120 kB / 0.7929 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.3461, allocations: 23.62 kB / 0.7929 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3462, allocations: 25.7 kB / 0.7929 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3463, allocations: 322.8 kB / 0.7932 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3465, allocations: 55.95 kB / 0.7933 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3468, allocations: 134 kB / 0.7934 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.3471, allocations: 208.6 kB / 0.7936 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3472, allocations: 4 kB / 0.7936 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000513/0.3477, allocations: 247 kB / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3477, allocations: 41.03 kB / 0.7939 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3478, allocations: 11.94 kB / 0.7939 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3478, allocations: 4 kB / 0.7939 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3479, allocations: 27.92 kB / 0.7939 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3479, allocations: 11.88 kB / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3482, allocations: 59.8 kB / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3482, allocations: 12.38 kB / 0.794 GB, free: 5.668 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001237/0.3483, allocations: 129.8 kB / 0.7941 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.3484, allocations: 7.906 kB / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.3484, allocations: 16.72 kB / 0.7941 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3484, allocations: 3.938 kB / 0.7941 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3484, allocations: 3.938 kB / 0.7942 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3484, allocations: 0 / 0.7942 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.3491, allocations: 414.3 kB / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3491, allocations: 0 / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.3492, allocations: 15.98 kB / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3492, allocations: 7.938 kB / 0.7946 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3492, allocations: 4 kB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3492, allocations: 0 / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3492, allocations: 0 / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.3497, allocations: 263.2 kB / 0.7948 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.3497, allocations: 84.95 kB / 0.7949 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3498, allocations: 4 kB / 0.7949 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.3499, allocations: 8.031 kB / 0.7949 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3499, allocations: 11.98 kB / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3499, allocations: 4 kB / 0.7949 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.35, allocations: 103.3 kB / 0.795 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.35, allocations: 4 kB / 0.795 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002925/0.3503, allocations: 31.98 kB / 0.7951 GB, free: 4.469 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002183/0.3505, allocations: 107.2 kB / 0.7952 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.351, allocations: 191.3 kB / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.351, allocations: 0 / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3512, allocations: 44.09 kB / 0.7954 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3515, allocations: 23.23 kB / 0.7954 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.3522, allocations: 343.3 kB / 0.7957 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3526, allocations: 0.7087 MB / 0.7964 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.3527, allocations: 15.44 kB / 0.7964 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.3527, allocations: 0 / 0.7964 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.004004/0.3567, allocations: 1.706 MB / 0.7981 GB, free: 1.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithResetCalcHelperMain.o] Error 1