Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009223/0.0009222, allocations: 92.16 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.001398/0.001398, allocations: 172.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.875/1.875, 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.843/1.843, 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.000566/0.000566, allocations: 17.22 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3497, 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.PIDScale): time 0.002649/0.3524, allocations: 1.706 MB / 0.7902 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.3549, allocations: 1.566 MB / 0.7918 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.3552, allocations: 4 kB / 0.7918 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3554, allocations: 59.39 kB / 0.7918 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.3557, allocations: 67.56 kB / 0.7919 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3564, allocations: 275.6 kB / 0.7921 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.3571, allocations: 0.606 MB / 0.7927 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.3575, allocations: 284.5 kB / 0.793 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.3577, allocations: 179 kB / 0.7932 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.358, allocations: 202.7 kB / 0.7934 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.3581, allocations: 20 kB / 0.7934 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.3582, allocations: 27.98 kB / 0.7934 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.3583, allocations: 83.55 kB / 0.7935 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.3585, allocations: 240.2 kB / 0.7937 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.3591, allocations: 0.6041 MB / 0.7943 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3591, allocations: 0 / 0.7943 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.478e-06/0.3591, allocations: 4 kB / 0.7943 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3591, allocations: 3.938 kB / 0.7943 GB, free: 5.648 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001568/0.3607, allocations: 0.8175 MB / 0.7951 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3608, allocations: 12.03 kB / 0.7951 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.3609, allocations: 68.19 kB / 0.7952 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.3615, allocations: 430.8 kB / 0.7956 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.3616, allocations: 45.36 kB / 0.7957 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.3617, allocations: 56.36 kB / 0.7957 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.3626, allocations: 471.6 kB / 0.7962 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3626, allocations: 192 / 0.7962 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.3627, allocations: 23.94 kB / 0.7962 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3627, allocations: 12 kB / 0.7962 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.3634, allocations: 339.8 kB / 0.7965 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.3656, allocations: 1.48 MB / 0.798 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3666, allocations: 0.8862 MB / 0.7988 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.367, allocations: 208.3 kB / 0.799 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.3671, allocations: 11.98 kB / 0.799 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.3675, allocations: 227.9 kB / 0.7993 GB, free: 304 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.3675, allocations: 3.938 kB / 0.7993 GB, free: 300 kB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.001031/0.3686, allocations: 0.5043 MB / 0.7997 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.3687, allocations: 110.8 kB / 0.7999 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.3692, allocations: 397.6 kB / 0.8002 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3692, allocations: 33.7 kB / 0.8003 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3694, allocations: 256.3 kB / 0.8005 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3696, allocations: 138 kB / 0.8006 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.3696, allocations: 49.69 kB / 0.8007 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3698, allocations: 358.8 kB / 0.801 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3702, allocations: 164.8 kB / 0.8012 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.3706, allocations: 266.9 kB / 0.8014 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.3713, allocations: 415.9 kB / 0.8018 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3713, allocations: 0 / 0.8018 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009604/0.3723, allocations: 0.5355 MB / 0.8024 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3724, allocations: 177 kB / 0.8025 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3724, allocations: 4 kB / 0.8025 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3724, allocations: 7.984 kB / 0.8025 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.3728, allocations: 87.95 kB / 0.8026 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3728, allocations: 7.984 kB / 0.8026 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.3733, allocations: 99.47 kB / 0.8027 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3733, allocations: 23.98 kB / 0.8028 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.3733, allocations: 4 kB / 0.8028 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006811/0.374, allocations: 425.7 kB / 0.8032 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.374, allocations: 0 / 0.8032 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.361e-06/0.3741, allocations: 7.938 kB / 0.8032 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3743, allocations: 79.84 kB / 0.8032 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3743, allocations: 8.219 kB / 0.8033 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.3747, allocations: 83.48 kB / 0.8033 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3747, allocations: 20 kB / 0.8034 GB, free: 11.91 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0002472/0.375, allocations: 253 kB / 0.8036 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.375, allocations: 43.53 kB / 0.8036 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.3752, allocations: 44.77 kB / 0.8037 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3752, allocations: 4 kB / 0.8037 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3752, allocations: 7.938 kB / 0.8037 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3752, allocations: 7.984 kB / 0.8037 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.3767, allocations: 1.022 MB / 0.8047 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3767, allocations: 3.938 kB / 0.8047 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.377, allocations: 79.89 kB / 0.8048 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.377, allocations: 0 / 0.8048 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.377, allocations: 8 kB / 0.8048 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3771, allocations: 0 / 0.8048 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3771, allocations: 4 kB / 0.8048 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3781, allocations: 0.6603 MB / 0.8054 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.3782, allocations: 124.5 kB / 0.8055 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3783, allocations: 15.98 kB / 0.8056 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3785, allocations: 19.98 kB / 0.8056 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3786, allocations: 23.97 kB / 0.8056 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3786, allocations: 19.98 kB / 0.8056 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003008/0.3789, allocations: 283.2 kB / 0.8059 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3789, allocations: 0 / 0.8059 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005644/0.3795, allocations: 187.2 kB / 0.8061 GB, free: 9.016 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.0002351/0.3797, allocations: 119.2 kB / 0.8062 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.3809, allocations: 0.733 MB / 0.8069 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.381, allocations: 0 / 0.8069 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.3813, allocations: 184.8 kB / 0.8071 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.3819, allocations: 93.44 kB / 0.8072 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3834, allocations: 1.126 MB / 0.8083 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.3839, allocations: 0.8469 MB / 0.8091 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.384, allocations: 35.44 kB / 0.8091 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of SimCode: time 1.583e-06/0.384, allocations: 0 / 0.8091 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of Templates: time 0.008906/0.393, allocations: 5.785 MB / 0.8148 GB, free: 32 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScaleCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScaleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScaleCalcHelperMain.o] Error 1