Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_latest_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_latest_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.0008593/0.0008596, allocations: 96.38 kB / 15.7 MB, free: 456 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.0009548/0.0009549, allocations: 175.5 kB / 16.58 MB, free: 6.41 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.453/1.453, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 0.8716 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8537, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003697/0.8575, allocations: 3.13 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.8599, allocations: 1.251 MB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.8604, allocations: 23.88 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.8607, allocations: 91.09 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.8611, allocations: 139 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.8622, allocations: 457.1 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008689/0.8631, allocations: 0.8199 MB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.8635, allocations: 255.1 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.8639, allocations: 270.5 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.8642, allocations: 254.4 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.8643, allocations: 24 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.8643, allocations: 24 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.8645, allocations: 119.2 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.8646, allocations: 141.3 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.8651, allocations: 0.6137 MB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8652, allocations: 4 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8652, allocations: 0 / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.8652, allocations: 0 / 1.029 GB, free: 9.477 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001784/0.867, allocations: 1.071 MB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.867, allocations: 11.98 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.8672, allocations: 94.88 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00089/0.8681, allocations: 0.5707 MB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.8682, allocations: 96.39 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.8683, allocations: 63.8 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.8693, allocations: 0.6041 MB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.8693, allocations: 4 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.8694, allocations: 20 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.8694, allocations: 15.98 kB / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.8703, allocations: 443.7 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.873, allocations: 2.129 MB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.8741, allocations: 0.5148 MB / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.8746, allocations: 221.8 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.8746, allocations: 15.94 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006671/0.8753, allocations: 294 kB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.8753, allocations: 0 / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.001431/0.8767, allocations: 0.6383 MB / 1.036 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.8768, allocations: 96.77 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.8775, allocations: 0.6022 MB / 1.036 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.8776, allocations: 37.7 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.8778, allocations: 360.8 kB / 1.037 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.878, allocations: 153.8 kB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.878, allocations: 11.94 kB / 1.037 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8781, allocations: 326 kB / 1.037 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.8786, allocations: 189 kB / 1.037 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.879, allocations: 280.2 kB / 1.038 GB, free: 336 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.8795, allocations: 234.4 kB / 1.038 GB, free: 92 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8795, allocations: 0 / 1.038 GB, free: 92 kB / 0.7794 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001121/0.8806, allocations: 0.6179 MB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.8808, allocations: 193.2 kB / 1.039 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8808, allocations: 0 / 1.039 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.8808, allocations: 8 kB / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.8813, allocations: 115.8 kB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8813, allocations: 4 kB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.8816, allocations: 67.5 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.8817, allocations: 19.98 kB / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.8817, allocations: 4 kB / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009081/0.8826, allocations: 0.4959 MB / 1.039 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.8826, allocations: 4.312 kB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.8827, allocations: 8 kB / 1.039 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.8831, allocations: 111.8 kB / 1.04 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8831, allocations: 7.953 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.8834, allocations: 59.5 kB / 1.04 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.8834, allocations: 23.94 kB / 1.04 GB, free: 14.3 MB / 0.795 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.0002879/0.8837, allocations: 276.9 kB / 1.04 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.8838, allocations: 75.06 kB / 1.04 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.884, allocations: 79.2 kB / 1.04 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.884, allocations: 8 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.884, allocations: 3.953 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.884, allocations: 0 / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.8847, allocations: 0.6179 MB / 1.041 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8847, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.8852, allocations: 91.89 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8852, allocations: 0 / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8852, allocations: 16 kB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8852, allocations: 7.922 kB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8852, allocations: 0 / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.8866, allocations: 0.7471 MB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.8869, allocations: 196 kB / 1.042 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.8869, allocations: 12 kB / 1.042 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.8873, allocations: 43.97 kB / 1.042 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.8874, allocations: 35.94 kB / 1.042 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.8874, allocations: 11.98 kB / 1.042 GB, free: 11.99 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004665/0.8879, allocations: 427 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8879, allocations: 0 / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005847/0.8885, allocations: 211.4 kB / 1.042 GB, free: 11.38 MB / 0.795 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.0001583/0.8887, allocations: 120 kB / 1.042 GB, free: 11.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.8901, allocations: 0.8018 MB / 1.043 GB, free: 10.42 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8902, allocations: 4.125 kB / 1.043 GB, free: 10.42 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.8906, allocations: 223.3 kB / 1.043 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.8915, allocations: 178.4 kB / 1.044 GB, free: 10.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.8936, allocations: 1.425 MB / 1.045 GB, free: 8.559 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.894, allocations: 0.9144 MB / 1.046 GB, free: 7.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.8942, allocations: 51.42 kB / 1.046 GB, free: 7.562 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.8942, allocations: 3.938 kB / 1.046 GB, free: 7.559 MB / 0.795 GB Notification: Performance of Templates: time 0.01297/0.9072, allocations: 8.555 MB / 1.054 GB, free: 15.05 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1