Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 91.77 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.001717/0.001717, allocations: 180.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.902/1.902, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.865/1.865, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005335/0.0005339, allocations: 22.25 kB / 0.675 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.33, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003722/0.3338, allocations: 2.829 MB / 0.7913 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.3367, allocations: 1.661 MB / 0.7929 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.3371, allocations: 19.94 kB / 0.793 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.3375, allocations: 114.9 kB / 0.7931 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.3379, allocations: 87.31 kB / 0.7932 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3384, allocations: 303.7 kB / 0.7934 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.3394, allocations: 0.9749 MB / 0.7944 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008403/0.3403, allocations: 0.5724 MB / 0.795 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.3406, allocations: 250.4 kB / 0.7952 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.3409, allocations: 313.7 kB / 0.7955 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.341, allocations: 32 kB / 0.7955 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.341, allocations: 24 kB / 0.7955 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3411, allocations: 143.1 kB / 0.7957 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.3414, allocations: 386.9 kB / 0.7961 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.3423, allocations: 0.9664 MB / 0.797 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3423, allocations: 0 / 0.797 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3423, allocations: 0 / 0.797 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3423, allocations: 0 / 0.797 GB, free: 2.844 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002136/0.3445, allocations: 1.185 MB / 0.7982 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3445, allocations: 12.03 kB / 0.7982 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3447, allocations: 115.5 kB / 0.7983 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.3455, allocations: 0.5909 MB / 0.7989 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.3456, allocations: 66.38 kB / 0.7989 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3457, allocations: 96.28 kB / 0.799 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3472, allocations: 0.8633 MB / 0.7998 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3472, allocations: 3.938 kB / 0.7999 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.935e-05/0.3473, allocations: 39.98 kB / 0.7999 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3473, allocations: 24 kB / 0.7999 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3487, allocations: 0.6207 MB / 0.8005 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.3525, allocations: 2.74 MB / 0.8032 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.354, allocations: 1.33 MB / 0.8045 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.3547, allocations: 394.6 kB / 0.8049 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3547, allocations: 8.562 kB / 0.8049 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.3554, allocations: 355 kB / 0.8052 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.745e-06/0.3554, allocations: 0 / 0.8052 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.00159/0.357, allocations: 0.8066 MB / 0.806 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.3571, allocations: 166.8 kB / 0.8062 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.3578, allocations: 0.594 MB / 0.8067 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.3579, allocations: 41.7 kB / 0.8068 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.3582, allocations: 420 kB / 0.8072 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.3584, allocations: 232.6 kB / 0.8074 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.3585, allocations: 69.67 kB / 0.8075 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3587, allocations: 390.7 kB / 0.8078 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.3592, allocations: 233.2 kB / 0.8081 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.3598, allocations: 353.3 kB / 0.8084 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/0.3607, allocations: 0.5273 MB / 0.8089 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3608, allocations: 4 kB / 0.8089 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001164/0.3619, allocations: 0.6877 MB / 0.8096 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.362, allocations: 114.2 kB / 0.8097 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.362, allocations: 0 / 0.8097 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3621, allocations: 8.094 kB / 0.8097 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.3626, allocations: 151.7 kB / 0.8099 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3626, allocations: 4 kB / 0.8099 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.363, allocations: 111.4 kB / 0.81 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.363, allocations: 16 kB / 0.81 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.3631, allocations: 7.938 kB / 0.81 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006647/0.3637, allocations: 479.6 kB / 0.8104 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.3637, allocations: 8.031 kB / 0.8105 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.3638, allocations: 4 kB / 0.8105 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3642, allocations: 119.8 kB / 0.8106 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3642, allocations: 4 kB / 0.8106 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3645, allocations: 83.34 kB / 0.8107 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.3645, allocations: 20 kB / 0.8107 GB, free: 4.316 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003547/0.3649, allocations: 301.6 kB / 0.811 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.365, allocations: 75.06 kB / 0.811 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3651, allocations: 78.95 kB / 0.8111 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3651, allocations: 8 kB / 0.8111 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3652, allocations: 0 / 0.8111 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3652, allocations: 3.984 kB / 0.8111 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3675, allocations: 1.59 MB / 0.8127 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3675, allocations: 4 kB / 0.8127 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.3681, allocations: 135.9 kB / 0.8128 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.3681, allocations: 7.938 kB / 0.8128 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.3681, allocations: 12 kB / 0.8128 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3681, allocations: 3.938 kB / 0.8128 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3682, allocations: 0 / 0.8128 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3698, allocations: 1.026 MB / 0.8138 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.37, allocations: 152.1 kB / 0.814 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.37, allocations: 15.94 kB / 0.814 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.3704, allocations: 59.95 kB / 0.814 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.3705, allocations: 32.52 kB / 0.8141 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.3705, allocations: 23.98 kB / 0.8141 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005077/0.371, allocations: 419.1 kB / 0.8145 GB, free: 296 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.371, allocations: 0 / 0.8145 GB, free: 296 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007399/0.3718, allocations: 310.4 kB / 0.8148 GB, free: 15.98 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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 Backend phase and start with SimCode phase: time 0.0002272/0.372, allocations: 134.1 kB / 0.8149 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.3735, allocations: 0.8281 MB / 0.8157 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3735, allocations: 8.25 kB / 0.8157 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.374, allocations: 299.1 kB / 0.816 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.3748, allocations: 157.7 kB / 0.8162 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3775, allocations: 1.946 MB / 0.8181 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.3781, allocations: 0.982 MB / 0.819 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3783, allocations: 59.42 kB / 0.8191 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.3783, allocations: 0 / 0.8191 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.01364/0.392, allocations: 9.054 MB / 0.8279 GB, free: 2.492 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetCalcHelperMain.o] Error 1