Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009905, allocations: 91.92 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.001377/0.001377, allocations: 180.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.926/1.926, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.825/1.825, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005964/0.0005965, allocations: 19.38 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3437, allocations: 116.3 MB / 0.7885 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004456/0.3482, allocations: 3.33 MB / 0.7918 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3515, allocations: 1.341 MB / 0.7931 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.352, allocations: 23.88 kB / 0.7931 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.3525, allocations: 95.11 kB / 0.7932 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.3531, allocations: 139 kB / 0.7933 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3546, allocations: 0.5273 MB / 0.7938 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3557, allocations: 0.9018 MB / 0.7947 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.3563, allocations: 329.9 kB / 0.795 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.3568, allocations: 278.3 kB / 0.7953 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.3572, allocations: 282.1 kB / 0.7956 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.3573, allocations: 24 kB / 0.7956 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.3574, allocations: 20 kB / 0.7956 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3576, allocations: 119.3 kB / 0.7957 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.3579, allocations: 323.5 kB / 0.796 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.3586, allocations: 0.6195 MB / 0.7966 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3587, allocations: 0 / 0.7966 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3587, allocations: 0 / 0.7966 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.3587, allocations: 0 / 0.7966 GB, free: 3.25 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002353/0.3611, allocations: 1.063 MB / 0.7977 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.3611, allocations: 12.03 kB / 0.7977 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3613, allocations: 91.81 kB / 0.7978 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.3625, allocations: 0.6025 MB / 0.7984 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3626, allocations: 105 kB / 0.7985 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3627, allocations: 56.38 kB / 0.7985 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3641, allocations: 0.6158 MB / 0.7991 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3641, allocations: 0 / 0.7991 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.3642, allocations: 24 kB / 0.7992 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3642, allocations: 16 kB / 0.7992 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3653, allocations: 443.6 kB / 0.7996 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.3686, allocations: 2.129 MB / 0.8017 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.37, allocations: 0.5225 MB / 0.8022 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.3706, allocations: 232.7 kB / 0.8024 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.3706, allocations: 15.92 kB / 0.8024 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000794/0.3714, allocations: 294 kB / 0.8027 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.3715, allocations: 0 / 0.8027 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001651/0.3731, allocations: 0.6347 MB / 0.8033 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.3732, allocations: 88.8 kB / 0.8034 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.3741, allocations: 0.6217 MB / 0.804 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.3742, allocations: 37.7 kB / 0.804 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.3745, allocations: 360.8 kB / 0.8044 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3747, allocations: 165.7 kB / 0.8045 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.3748, allocations: 49.69 kB / 0.8046 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.375, allocations: 322 kB / 0.8049 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.3754, allocations: 189 kB / 0.8051 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.376, allocations: 285.3 kB / 0.8054 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.377, allocations: 0.4901 MB / 0.8058 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.377, allocations: 3.938 kB / 0.8058 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001288/0.3783, allocations: 0.6178 MB / 0.8064 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.3786, allocations: 185.2 kB / 0.8066 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3786, allocations: 4 kB / 0.8066 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3786, allocations: 8 kB / 0.8066 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.3791, allocations: 115.8 kB / 0.8067 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3791, allocations: 11.92 kB / 0.8067 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.3796, allocations: 63.42 kB / 0.8068 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.3797, allocations: 31.97 kB / 0.8068 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3797, allocations: 15.06 kB / 0.8069 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.3808, allocations: 0.496 MB / 0.8073 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3808, allocations: 4 kB / 0.8073 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.3808, allocations: 4 kB / 0.8073 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.3812, allocations: 107.9 kB / 0.8074 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3812, allocations: 7.938 kB / 0.8075 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.3816, allocations: 67.75 kB / 0.8075 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3816, allocations: 16 kB / 0.8075 GB, free: 7.645 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003577/0.382, allocations: 269 kB / 0.8078 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.3821, allocations: 71.09 kB / 0.8079 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3823, allocations: 83.33 kB / 0.8079 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3823, allocations: 4 kB / 0.8079 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3823, allocations: 4 kB / 0.8079 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3824, allocations: 0 / 0.8079 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/0.3832, allocations: 0.6258 MB / 0.8086 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3832, allocations: 3.938 kB / 0.8086 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.3836, allocations: 83.89 kB / 0.8086 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3836, allocations: 4 kB / 0.8086 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.3837, allocations: 11.98 kB / 0.8087 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3837, allocations: 0 / 0.8087 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3837, allocations: 0 / 0.8087 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3853, allocations: 0.7474 MB / 0.8094 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.3856, allocations: 200 kB / 0.8096 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.3857, allocations: 12 kB / 0.8096 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.3861, allocations: 48.02 kB / 0.8096 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.3862, allocations: 35.95 kB / 0.8097 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.3863, allocations: 12 kB / 0.8097 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005453/0.3868, allocations: 439 kB / 0.8101 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3868, allocations: 0 / 0.8101 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006165/0.3874, allocations: 223.2 kB / 0.8103 GB, free: 4.699 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001761/0.3876, allocations: 115.2 kB / 0.8104 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.3894, allocations: 0.8125 MB / 0.8112 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3894, allocations: 7.938 kB / 0.8112 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.3899, allocations: 223.9 kB / 0.8114 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.3909, allocations: 189.9 kB / 0.8116 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3936, allocations: 1.499 MB / 0.8131 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.3942, allocations: 0.9144 MB / 0.814 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3944, allocations: 55.42 kB / 0.814 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.3944, allocations: 0 / 0.814 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of Templates: time 0.01474/0.4091, allocations: 8.584 MB / 0.8224 GB, free: 8.262 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPIDCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1