Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008072/0.0008076, allocations: 102.6 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.0008697/0.0008696, allocations: 176.2 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.618/1.618, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 436.7 MB / 0.7113 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 8 kB / 0.8717 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9682/0.9686, allocations: 153.6 MB / 1.022 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00191/0.9706, allocations: 1.254 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.9716, allocations: 0.538 MB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.9717, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.667e-05/0.9718, allocations: 7.938 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.9718, allocations: 15.84 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.9722, allocations: 63.86 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.9723, allocations: 79.7 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.9724, allocations: 20.22 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.9726, allocations: 43.83 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.9727, allocations: 35.84 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.9727, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.9728, allocations: 55.83 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.9728, allocations: 15.92 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.9729, allocations: 37.7 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.9731, allocations: 85.8 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9731, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9731, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.9731, allocations: 7.938 kB / 1.024 GB, free: 14.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007519/0.9739, allocations: 448.6 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9739, allocations: 15.97 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.9739, allocations: 15.91 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.9742, allocations: 186.9 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.9742, allocations: 3.953 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.9742, allocations: 11.98 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.9745, allocations: 109.6 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9745, allocations: 7.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.9745, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.9746, allocations: 7.984 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.9749, allocations: 107.9 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.9755, allocations: 360.6 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.9758, allocations: 110.4 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.976, allocations: 68.88 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.976, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.9764, allocations: 119.3 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9764, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006115/0.977, allocations: 237.4 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.977, allocations: 55.41 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.9772, allocations: 143.6 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9772, allocations: 33.92 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.9773, allocations: 103.9 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.9773, allocations: 27.56 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.9773, allocations: 4.016 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9775, allocations: 322.8 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.9777, allocations: 67.95 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.9779, allocations: 71.89 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.9781, allocations: 97.64 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9781, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004436/0.9785, allocations: 215.2 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9786, allocations: 33.69 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.9786, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9786, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.9787, allocations: 19.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9787, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.9789, allocations: 35.92 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.9789, allocations: 7.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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.0001091/0.979, allocations: 121.8 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.979, allocations: 7.906 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.9791, allocations: 12.7 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.9791, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9791, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9791, allocations: 8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.9793, allocations: 205.4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9793, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.9794, allocations: 19.98 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9794, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9795, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9795, allocations: 3.984 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9795, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.9799, allocations: 212.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.98, allocations: 85.02 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.98, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.9801, allocations: 16.17 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.9802, allocations: 19.97 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.9802, allocations: 3.938 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.9803, allocations: 109 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9803, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002487/0.9805, allocations: 32 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0001716/0.9807, allocations: 119.2 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.9812, allocations: 207.4 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.9812, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.9814, allocations: 83.88 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.9816, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.9821, allocations: 284.7 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.9825, allocations: 0.7082 MB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.9826, allocations: 11.44 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.9826, allocations: 0 / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.003318/0.9859, allocations: 1.502 MB / 1.031 GB, free: 7.781 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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.SignalRankerCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1