Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 92.55 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.001582/0.001582, allocations: 178.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.883/1.883, allocations: 205.4 MB / 223.1 MB, free: 5.473 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.758/1.758, 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.0005702/0.0005702, allocations: 16.31 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3808, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005367/0.3863, allocations: 3.732 MB / 0.7922 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3891, allocations: 1.322 MB / 0.7935 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.3894, allocations: 23.88 kB / 0.7935 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3898, allocations: 91.22 kB / 0.7936 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3901, allocations: 146.8 kB / 0.7937 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.391, allocations: 382.8 kB / 0.7941 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.3919, allocations: 0.8695 MB / 0.7949 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.3926, allocations: 422.4 kB / 0.7953 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.3929, allocations: 234.7 kB / 0.7955 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.3932, allocations: 266.4 kB / 0.7958 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-05/0.3933, allocations: 20 kB / 0.7958 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.306e-05/0.3934, allocations: 24 kB / 0.7958 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3935, allocations: 99.42 kB / 0.7959 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.3938, allocations: 331.8 kB / 0.7963 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.3946, allocations: 0.8063 MB / 0.797 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3946, allocations: 0 / 0.797 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.858e-06/0.3946, allocations: 0 / 0.797 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3946, allocations: 0 / 0.797 GB, free: 2.805 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001824/0.3965, allocations: 0.9524 MB / 0.798 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.3965, allocations: 8.031 kB / 0.798 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3967, allocations: 88 kB / 0.7981 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.3976, allocations: 0.5572 MB / 0.7986 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.3977, allocations: 41.69 kB / 0.7986 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3978, allocations: 60.28 kB / 0.7987 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.399, allocations: 0.6195 MB / 0.7993 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3991, allocations: 7.938 kB / 0.7993 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.3991, allocations: 20 kB / 0.7993 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3992, allocations: 16 kB / 0.7994 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4002, allocations: 473 kB / 0.7998 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.4034, allocations: 2.008 MB / 0.8018 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4045, allocations: 461.2 kB / 0.8022 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.405, allocations: 246.1 kB / 0.8024 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.4051, allocations: 8.422 kB / 0.8024 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006501/0.4057, allocations: 269.2 kB / 0.8027 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.4057, allocations: 0 / 0.8027 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001474/0.4072, allocations: 0.5964 MB / 0.8033 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.4073, allocations: 63.83 kB / 0.8033 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.4079, allocations: 449.9 kB / 0.8038 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.408, allocations: 41.64 kB / 0.8038 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.4083, allocations: 320.3 kB / 0.8041 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4084, allocations: 169.6 kB / 0.8043 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.4085, allocations: 49.69 kB / 0.8043 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4087, allocations: 366.7 kB / 0.8047 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.4091, allocations: 169 kB / 0.8048 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.4096, allocations: 253.8 kB / 0.8051 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.4105, allocations: 468 kB / 0.8055 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4106, allocations: 0 / 0.8055 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001095/0.4117, allocations: 0.5741 MB / 0.8061 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.4117, allocations: 33.64 kB / 0.8061 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4117, allocations: 4 kB / 0.8061 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4118, allocations: 4 kB / 0.8061 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.4123, allocations: 115.8 kB / 0.8062 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.4123, allocations: 4.25 kB / 0.8062 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4127, allocations: 75.41 kB / 0.8063 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.4127, allocations: 16 kB / 0.8063 GB, free: 8.941 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003153/0.4131, allocations: 220.8 kB / 0.8065 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.4131, allocations: 63.22 kB / 0.8066 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.4133, allocations: 65.59 kB / 0.8067 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4133, allocations: 7.984 kB / 0.8067 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4133, allocations: 0 / 0.8067 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4133, allocations: 0 / 0.8067 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.4153, allocations: 1.193 MB / 0.8078 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4153, allocations: 0 / 0.8078 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.4158, allocations: 99.88 kB / 0.8079 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4158, allocations: 0 / 0.8079 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.4158, allocations: 16 kB / 0.8079 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4159, allocations: 4 kB / 0.808 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.4159, allocations: 4 kB / 0.808 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.4174, allocations: 0.7757 MB / 0.8087 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.4176, allocations: 180.2 kB / 0.8089 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.4177, allocations: 8 kB / 0.8089 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.418, allocations: 31.97 kB / 0.8089 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4181, allocations: 36.39 kB / 0.809 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4181, allocations: 12 kB / 0.809 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003814/0.4185, allocations: 310.9 kB / 0.8093 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4185, allocations: 0 / 0.8093 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004651/0.419, allocations: 143.5 kB / 0.8094 GB, free: 5.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001927/0.4192, allocations: 114 kB / 0.8095 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.4202, allocations: 493 kB / 0.81 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4202, allocations: 3.938 kB / 0.81 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.4207, allocations: 226.9 kB / 0.8102 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.4215, allocations: 136.5 kB / 0.8103 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.4245, allocations: 1.725 MB / 0.812 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.4252, allocations: 0.8941 MB / 0.8129 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.4253, allocations: 43.44 kB / 0.8129 GB, free: 2 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.4253, allocations: 0 / 0.8129 GB, free: 2 MB / 0.6231 GB Notification: Performance of Templates: time 0.01161/0.4369, allocations: 7.506 MB / 0.8203 GB, free: 10.53 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1