Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001653/0.001653, allocations: 98.8 kB / 16.02 MB, free: 76 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.002395/0.002395, allocations: 184.2 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.7 MB / 0.5509 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005993, allocations: 16.53 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3388, allocations: 116.3 MB / 0.7885 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002194/0.3411, allocations: 1.278 MB / 0.7898 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3423, allocations: 0.6166 MB / 0.7904 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.3424, allocations: 4 kB / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.3425, allocations: 7.922 kB / 0.7904 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.3426, allocations: 15.81 kB / 0.7904 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.343, allocations: 67.92 kB / 0.7905 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.3432, allocations: 95.64 kB / 0.7906 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3433, allocations: 24.2 kB / 0.7906 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3435, allocations: 39.78 kB / 0.7906 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.3436, allocations: 35.84 kB / 0.7906 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3436, allocations: 4 kB / 0.7907 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3437, allocations: 55.94 kB / 0.7907 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.3438, allocations: 19.86 kB / 0.7907 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3439, allocations: 65.48 kB / 0.7908 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3441, allocations: 96.05 kB / 0.7909 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3441, allocations: 0 / 0.7909 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3441, allocations: 3.938 kB / 0.7909 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3441, allocations: 8 kB / 0.7909 GB, free: 9.172 MB / 0.6075 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.0008198/0.345, allocations: 440.8 kB / 0.7913 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.345, allocations: 8.031 kB / 0.7913 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3451, allocations: 8.844 kB / 0.7913 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3453, allocations: 204.1 kB / 0.7915 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3453, allocations: 4.375 kB / 0.7915 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3453, allocations: 4.375 kB / 0.7915 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.3457, allocations: 129.8 kB / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3457, allocations: 0 / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3457, allocations: 4 kB / 0.7917 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.3457, allocations: 8 kB / 0.7917 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.3461, allocations: 103.9 kB / 0.7918 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.3469, allocations: 348.7 kB / 0.7921 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.3473, allocations: 122.4 kB / 0.7922 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.3475, allocations: 60.89 kB / 0.7923 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3475, allocations: 4 kB / 0.7923 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.3479, allocations: 123.3 kB / 0.7924 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3479, allocations: 0 / 0.7924 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0008545/0.3488, allocations: 241.4 kB / 0.7926 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3488, allocations: 55.52 kB / 0.7927 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.349, allocations: 144.5 kB / 0.7928 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.3491, allocations: 33.69 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3492, allocations: 104 kB / 0.7929 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.3492, allocations: 23.7 kB / 0.793 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3493, allocations: 13.72 kB / 0.793 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3495, allocations: 326.8 kB / 0.7933 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.3498, allocations: 71.89 kB / 0.7934 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3501, allocations: 67.89 kB / 0.7934 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.3507, allocations: 166.5 kB / 0.7936 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3507, allocations: 0 / 0.7936 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005708/0.3513, allocations: 215.1 kB / 0.7938 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.3514, allocations: 33.7 kB / 0.7938 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3514, allocations: 0 / 0.7938 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3514, allocations: 0 / 0.7938 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3516, allocations: 31.97 kB / 0.7939 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3516, allocations: 0 / 0.7939 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3517, allocations: 31.77 kB / 0.7939 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3518, allocations: 4 kB / 0.7939 GB, free: 5.852 MB / 0.6075 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.3519, allocations: 126.9 kB / 0.794 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3519, allocations: 7.906 kB / 0.794 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.352, allocations: 20.72 kB / 0.794 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.352, allocations: 7.984 kB / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.352, allocations: 0 / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.352, allocations: 3.938 kB / 0.794 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3522, allocations: 193.6 kB / 0.7942 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3522, allocations: 0 / 0.7942 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3523, allocations: 23.97 kB / 0.7943 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3524, allocations: 3.938 kB / 0.7943 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3524, allocations: 4 kB / 0.7943 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3524, allocations: 0 / 0.7943 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3524, allocations: 0 / 0.7943 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.3529, allocations: 204.9 kB / 0.7945 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.353, allocations: 85.02 kB / 0.7945 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.353, allocations: 3.984 kB / 0.7945 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3531, allocations: 15.98 kB / 0.7946 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.3532, allocations: 23.92 kB / 0.7946 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3532, allocations: 0 / 0.7946 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.482e-05/0.3533, allocations: 111.2 kB / 0.7947 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3533, allocations: 0 / 0.7947 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002628/0.3536, allocations: 51.77 kB / 0.7947 GB, free: 4.883 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.3538, allocations: 115.2 kB / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006238/0.3544, allocations: 203.2 kB / 0.795 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3545, allocations: 0 / 0.795 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3547, allocations: 75.95 kB / 0.7951 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3549, allocations: 11.98 kB / 0.7951 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.3556, allocations: 291.5 kB / 0.7954 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.356, allocations: 0.7043 MB / 0.7961 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.3561, allocations: 15.42 kB / 0.7961 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of SimCode: time 3.006e-06/0.3561, allocations: 0 / 0.7961 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.003707/0.3598, allocations: 1.503 MB / 0.7976 GB, free: 1.91 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1