Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_9_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.001011/0.001011, allocations: 102.7 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.001297/0.001297, allocations: 174.5 kB / 16.58 MB, free: 6.863 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.473/1.473, allocations: 223.2 MB / 240.6 MB, free: 5.449 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.536/2.536, allocations: 390.4 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.000378, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9063, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003888/0.9103, allocations: 3.129 MB / 0.9575 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.9129, allocations: 1.259 MB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.9135, allocations: 24.34 kB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.9138, allocations: 88.42 kB / 0.9588 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.9143, allocations: 131.5 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.9154, allocations: 463.2 kB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.9164, allocations: 0.823 MB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.917, allocations: 254.8 kB / 0.9604 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.9174, allocations: 269.7 kB / 0.9607 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.9177, allocations: 260.8 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.9178, allocations: 24.03 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.9179, allocations: 21.09 kB / 0.961 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.918, allocations: 106.8 kB / 0.9611 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.9181, allocations: 145 kB / 0.9612 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.9187, allocations: 0.6183 MB / 0.9618 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9187, allocations: 0 / 0.9618 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9188, allocations: 4.781 kB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.9188, allocations: 0 / 0.9618 GB, free: 2.496 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001981/0.9208, allocations: 1.069 MB / 0.9628 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.9208, allocations: 8.656 kB / 0.9629 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.921, allocations: 96.83 kB / 0.9629 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.9221, allocations: 0.5719 MB / 0.9635 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.9222, allocations: 103.6 kB / 0.9636 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.9223, allocations: 55.78 kB / 0.9637 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.9235, allocations: 0.6039 MB / 0.9642 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9235, allocations: 0.9688 kB / 0.9642 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.9236, allocations: 25.59 kB / 0.9643 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.9236, allocations: 13.09 kB / 0.9643 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.9246, allocations: 444.8 kB / 0.9647 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.9278, allocations: 2.133 MB / 0.9668 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.9291, allocations: 0.5135 MB / 0.9673 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.9297, allocations: 230.4 kB / 0.9675 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.9297, allocations: 13.17 kB / 0.9675 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007793/0.9305, allocations: 295.6 kB / 0.9678 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 3.045e-06/0.9305, allocations: 0 / 0.9678 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001648/0.9322, allocations: 0.6364 MB / 0.9684 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.9323, allocations: 89.84 kB / 0.9685 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.9332, allocations: 0.6091 MB / 0.9691 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.9332, allocations: 36.83 kB / 0.9691 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.9335, allocations: 353.4 kB / 0.9695 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.9337, allocations: 160.5 kB / 0.9696 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.9337, allocations: 5.969 kB / 0.9696 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9339, allocations: 335.3 kB / 0.97 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.9344, allocations: 180.6 kB / 0.9701 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.9349, allocations: 284 kB / 0.9704 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.9354, allocations: 237.6 kB / 0.9706 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9354, allocations: 0 / 0.9706 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001357/0.9368, allocations: 0.617 MB / 0.9712 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.937, allocations: 183.6 kB / 0.9714 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.937, allocations: 2.062 kB / 0.9714 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.937, allocations: 9.734 kB / 0.9714 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.9375, allocations: 116.2 kB / 0.9715 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.9376, allocations: 9.609 kB / 0.9715 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.938, allocations: 62.58 kB / 0.9716 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.938, allocations: 21.23 kB / 0.9716 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.9381, allocations: 13.69 kB / 0.9716 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/0.9392, allocations: 0.4968 MB / 0.9721 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.9392, allocations: 2.281 kB / 0.9721 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.9392, allocations: 9.672 kB / 0.9721 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.9397, allocations: 103.7 kB / 0.9722 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.9397, allocations: 5.5 kB / 0.9722 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.9401, allocations: 65.03 kB / 0.9723 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.9401, allocations: 18.09 kB / 0.9723 GB, free: 11.09 MB / 0.7325 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004457/0.9406, allocations: 280.1 kB / 0.9726 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9407, allocations: 74.09 kB / 0.9727 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.9409, allocations: 82.2 kB / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.9409, allocations: 3.969 kB / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.9409, allocations: 1.031 kB / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9409, allocations: 0 / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.9418, allocations: 0.6258 MB / 0.9733 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9418, allocations: 0.9688 kB / 0.9733 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.9423, allocations: 85.55 kB / 0.9734 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9423, allocations: 1.938 kB / 0.9734 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.9423, allocations: 15.05 kB / 0.9734 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9423, allocations: 2.125 kB / 0.9734 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9424, allocations: 3.938 kB / 0.9734 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.944, allocations: 0.7482 MB / 0.9742 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.9443, allocations: 197.5 kB / 0.9744 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.9443, allocations: 6.656 kB / 0.9744 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.9447, allocations: 55.17 kB / 0.9744 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.9449, allocations: 29.52 kB / 0.9745 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.9449, allocations: 19.23 kB / 0.9745 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006123/0.9455, allocations: 418.9 kB / 0.9749 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9455, allocations: 0 / 0.9749 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007424/0.9463, allocations: 222.5 kB / 0.9751 GB, free: 9.238 MB / 0.7325 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 (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.0001612/0.9464, allocations: 107.2 kB / 0.9752 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.9481, allocations: 0.8052 MB / 0.976 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9481, allocations: 0 / 0.976 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.9486, allocations: 228.6 kB / 0.9762 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009165/0.9496, allocations: 192.6 kB / 0.9764 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.9522, allocations: 1.409 MB / 0.9778 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.9528, allocations: 0.92 MB / 0.9786 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.953, allocations: 59.42 kB / 0.9787 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of SimCode: time 8.91e-07/0.953, allocations: 0 / 0.9787 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.01447/0.9675, allocations: 8.543 MB / 0.987 GB, free: 14.12 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPID.makefile make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPIDCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1