Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 99.59 kB / 15.71 MB, free: 452 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.001682/0.001682, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 8 kB / 0.8155 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8675, allocations: 142.3 MB / 0.9544 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003003/0.8705, allocations: 2.87 MB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.874, allocations: 2.041 MB / 0.9592 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.8748, allocations: 21.06 kB / 0.9592 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.8752, allocations: 127.6 kB / 0.9594 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.8755, allocations: 93.22 kB / 0.9595 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.8765, allocations: 351.6 kB / 0.9598 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009753/0.8775, allocations: 1.066 MB / 0.9608 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005997/0.8781, allocations: 413.9 kB / 0.9612 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.8784, allocations: 284.1 kB / 0.9615 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.8787, allocations: 331.1 kB / 0.9618 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.8788, allocations: 34.56 kB / 0.9618 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.8789, allocations: 40.55 kB / 0.9619 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.8791, allocations: 137.9 kB / 0.962 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.8792, allocations: 172.9 kB / 0.9622 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.8799, allocations: 1.054 MB / 0.9632 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8799, allocations: 0 / 0.9632 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8799, allocations: 0 / 0.9632 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.88, allocations: 0 / 0.9632 GB, free: 1.32 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002063/0.882, allocations: 1.233 MB / 0.9644 GB, free: 384 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8821, allocations: 9 kB / 0.9644 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.8823, allocations: 121.8 kB / 0.9645 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.8831, allocations: 0.5653 MB / 0.9651 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.8831, allocations: 70.94 kB / 0.9652 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.8833, allocations: 93.28 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.8849, allocations: 0.8758 MB / 0.9661 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.8849, allocations: 0 / 0.9661 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.885, allocations: 45.45 kB / 0.9661 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.885, allocations: 20.75 kB / 0.9662 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.8864, allocations: 0.673 MB / 0.9668 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.891, allocations: 3.03 MB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8925, allocations: 0.7406 MB / 0.9705 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.8932, allocations: 394.7 kB / 0.9709 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.8933, allocations: 9.625 kB / 0.9709 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.894, allocations: 377.6 kB / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 2.746e-06/0.894, allocations: 0 / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001831/0.8958, allocations: 0.8823 MB / 0.9721 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.896, allocations: 192.6 kB / 0.9723 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.8969, allocations: 0.6701 MB / 0.973 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.8969, allocations: 48.27 kB / 0.973 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.8973, allocations: 428.7 kB / 0.9734 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.8975, allocations: 231.9 kB / 0.9736 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.8976, allocations: 19.94 kB / 0.9736 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8977, allocations: 340.7 kB / 0.974 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.8984, allocations: 299 kB / 0.9743 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008103/0.8992, allocations: 493.9 kB / 0.9747 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.9, allocations: 372.5 kB / 0.9751 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.9, allocations: 5.25 kB / 0.9751 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001775/0.9018, allocations: 0.908 MB / 0.976 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.9019, allocations: 209 kB / 0.9762 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.902, allocations: 2.75 kB / 0.9762 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.902, allocations: 10.31 kB / 0.9762 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.9026, allocations: 171.4 kB / 0.9764 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.9026, allocations: 14.05 kB / 0.9764 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.9033, allocations: 171.4 kB / 0.9765 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.9034, allocations: 34.7 kB / 0.9766 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.9034, allocations: 3.844 kB / 0.9766 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.9046, allocations: 0.6769 MB / 0.9772 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.9046, allocations: 2.562 kB / 0.9772 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.9046, allocations: 6.688 kB / 0.9772 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.9051, allocations: 134.8 kB / 0.9774 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.9051, allocations: 10.38 kB / 0.9774 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.9056, allocations: 133.7 kB / 0.9775 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.9056, allocations: 37.55 kB / 0.9775 GB, free: 7.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0004184/0.9061, allocations: 304.6 kB / 0.9778 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.9062, allocations: 75.53 kB / 0.9779 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.9075, allocations: 0.6976 MB / 0.9786 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.9075, allocations: 8 kB / 0.9786 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9075, allocations: 96 / 0.9786 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.9075, allocations: 7.922 kB / 0.9786 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.91, allocations: 1.706 MB / 0.9803 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.91, allocations: 3.984 kB / 0.9803 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.9105, allocations: 144.1 kB / 0.9804 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.9106, allocations: 4 kB / 0.9804 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.9106, allocations: 23.94 kB / 0.9804 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.9106, allocations: 4 kB / 0.9804 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.9106, allocations: 11.94 kB / 0.9804 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.9124, allocations: 1.143 MB / 0.9816 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.9126, allocations: 168.1 kB / 0.9817 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.9127, allocations: 20 kB / 0.9817 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.913, allocations: 59.95 kB / 0.9818 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.9131, allocations: 48.39 kB / 0.9818 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.9131, allocations: 24 kB / 0.9819 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006621/0.9138, allocations: 475 kB / 0.9823 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.9138, allocations: 0 / 0.9823 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009173/0.9147, allocations: 326.7 kB / 0.9826 GB, free: 2.586 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (68): * Single equations (assignments): 67 * 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.0002535/0.915, allocations: 127.1 kB / 0.9828 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.9171, allocations: 1.175 MB / 0.9839 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9172, allocations: 0 / 0.9839 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.9177, allocations: 339.5 kB / 0.9842 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.9186, allocations: 175.8 kB / 0.9844 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.9211, allocations: 1.832 MB / 0.9862 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.9217, allocations: 0.9785 MB / 0.9871 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.9219, allocations: 63.42 kB / 0.9872 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/0.9219, allocations: 0 / 0.9872 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.01416/0.9361, allocations: 10.01 MB / 0.997 GB, free: 3.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDCalcHelperMain.o] Error 1