Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 102.8 kB / 15.71 MB, free: 460 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.000873/0.0008731, allocations: 168.9 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 436.7 MB / 0.7113 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 12 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7731, allocations: 153.7 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002233/0.7754, allocations: 1.586 MB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.7777, allocations: 1.549 MB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.7779, allocations: 15.94 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.7782, allocations: 55.44 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.7783, allocations: 47.58 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.779, allocations: 234.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.7795, allocations: 0.5828 MB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.7799, allocations: 247.2 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.7801, allocations: 171.1 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.7803, allocations: 190.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.7804, allocations: 20 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.7805, allocations: 27.98 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.7806, allocations: 79.56 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.7807, allocations: 109.4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.7812, allocations: 0.6175 MB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7812, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7812, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7812, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001305/0.7825, allocations: 0.8135 MB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7826, allocations: 15.98 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.7827, allocations: 67.19 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.7832, allocations: 391.6 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.7833, allocations: 41 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.7834, allocations: 56 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.7842, allocations: 0.5028 MB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7842, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.7843, allocations: 20 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.7843, allocations: 12 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.785, allocations: 367.8 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.7873, allocations: 1.585 MB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.7882, allocations: 0.8782 MB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.7886, allocations: 232.8 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.7887, allocations: 8.703 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.7891, allocations: 260.8 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.7892, allocations: 0 / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47): time 0.001047/0.7902, allocations: 0.5415 MB / 1.033 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.7903, allocations: 115.2 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.7907, allocations: 385.5 kB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.7908, allocations: 37.7 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.791, allocations: 253 kB / 1.034 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.7911, allocations: 161.7 kB / 1.034 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.7912, allocations: 12 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7913, allocations: 354.8 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.7917, allocations: 181 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.7922, allocations: 284.3 kB / 1.034 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.7926, allocations: 242.4 kB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7926, allocations: 4 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001064/0.7937, allocations: 0.5753 MB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.7938, allocations: 178.5 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7938, allocations: 0 / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7938, allocations: 4 kB / 1.035 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.7943, allocations: 99.88 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7943, allocations: 7.938 kB / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.7947, allocations: 107.4 kB / 1.036 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.7947, allocations: 23.98 kB / 1.036 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.7948, allocations: 9.875 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008014/0.7956, allocations: 471.9 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.7956, allocations: 4 kB / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.7956, allocations: 4 kB / 1.036 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.7959, allocations: 83.91 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.7959, allocations: 4 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.7963, allocations: 91.7 kB / 1.036 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.7963, allocations: 23.94 kB / 1.036 GB, free: 1.734 MB / 0.7794 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,$PRE.pulse.booPul.y,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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.7966, allocations: 259.1 kB / 1.037 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.7967, allocations: 43.52 kB / 1.037 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.7975, allocations: 449.3 kB / 1.037 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.7975, allocations: 7.984 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7975, allocations: 4 kB / 1.037 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7975, allocations: 3.953 kB / 1.037 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.7992, allocations: 1.148 MB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7992, allocations: 0 / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.7996, allocations: 87.89 kB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.7996, allocations: 4 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.7997, allocations: 15.94 kB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.7997, allocations: 8 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7997, allocations: 8.172 kB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8008, allocations: 0.7483 MB / 1.039 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.8009, allocations: 132.4 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.801, allocations: 8 kB / 1.039 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.8012, allocations: 35.97 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.8013, allocations: 27.75 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.8013, allocations: 23.98 kB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000284/0.8016, allocations: 267.2 kB / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8016, allocations: 0 / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006562/0.8023, allocations: 199.3 kB / 1.04 GB, free: 14.13 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.8025, allocations: 123.1 kB / 1.04 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.8038, allocations: 0.7884 MB / 1.041 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8038, allocations: 8.062 kB / 1.041 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.8042, allocations: 207.7 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.8048, allocations: 97.78 kB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.8064, allocations: 1.139 MB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.8068, allocations: 0.8476 MB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.8069, allocations: 43.42 kB / 1.043 GB, free: 10.78 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.8069, allocations: 0 / 1.043 GB, free: 10.78 MB / 0.795 GB Notification: Performance of Templates: time 0.009263/0.8162, allocations: 5.857 MB / 1.049 GB, free: 4.949 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScaleCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScaleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScaleCalcHelperMain.o] Error 1