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.008811/0.008811, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 192 kB / 16.79 MB, free: 5.809 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.837/1.837, allocations: 205.1 MB / 222.7 MB, free: 4.777 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.79/1.79, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001332/0.001332, allocations: 63.34 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 114.5 MB / 0.7833 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003256/0.2901, allocations: 1.624 MB / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2913, allocations: 0.6243 MB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.2913, allocations: 4 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.2915, allocations: 11.86 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.2915, allocations: 11.86 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.2918, allocations: 75.8 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.292, allocations: 91.7 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2921, allocations: 20.22 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2922, allocations: 43.83 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.2923, allocations: 43.83 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2923, allocations: 4 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2925, allocations: 55.89 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.2925, allocations: 19.92 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2926, allocations: 47.72 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2928, allocations: 96.06 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2928, allocations: 0 / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2928, allocations: 4 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2928, allocations: 0 / 0.786 GB, free: 11.27 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.0009076/0.2937, allocations: 452.7 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2938, allocations: 8.031 kB / 0.7865 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.2938, allocations: 8.844 kB / 0.7865 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.294, allocations: 196.1 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.294, allocations: 8.375 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2941, allocations: 8.375 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.2944, allocations: 105.9 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2944, allocations: 0 / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2945, allocations: 4 kB / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2945, allocations: 0 / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.2948, allocations: 95.86 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.2955, allocations: 352.6 kB / 0.7872 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.2958, allocations: 94.5 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.296, allocations: 60.88 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2961, allocations: 0 / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.2964, allocations: 115.3 kB / 0.7875 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2964, allocations: 4 kB / 0.7875 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000662/0.2971, allocations: 205.3 kB / 0.7877 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2972, allocations: 51.41 kB / 0.7877 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2973, allocations: 148.5 kB / 0.7878 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2973, allocations: 33.77 kB / 0.7879 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.2974, allocations: 100.1 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2975, allocations: 27.61 kB / 0.788 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.2975, allocations: 25.7 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2977, allocations: 326.8 kB / 0.7883 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.2979, allocations: 55.95 kB / 0.7884 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.2981, allocations: 59.95 kB / 0.7884 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.2984, allocations: 142.4 kB / 0.7886 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2984, allocations: 0 / 0.7886 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004588/0.2989, allocations: 203.2 kB / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.299, allocations: 29.7 kB / 0.7888 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.299, allocations: 4 kB / 0.7888 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.299, allocations: 0 / 0.7888 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.2992, allocations: 19.98 kB / 0.7888 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2993, allocations: 0 / 0.7888 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2994, allocations: 19.91 kB / 0.7888 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2994, allocations: 4 kB / 0.7888 GB, free: 8.117 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.0001059/0.2995, allocations: 125.7 kB / 0.789 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.2996, allocations: 23.8 kB / 0.789 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.2996, allocations: 8.719 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.2996, allocations: 4 kB / 0.789 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2996, allocations: 0 / 0.789 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2996, allocations: 0 / 0.789 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2998, allocations: 201.5 kB / 0.7892 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2998, allocations: 0 / 0.7892 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3, allocations: 15.98 kB / 0.7892 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3, allocations: 0 / 0.7892 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3, allocations: 7.984 kB / 0.7892 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3, allocations: 4 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3, allocations: 480 / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3004, allocations: 188.8 kB / 0.7894 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.3005, allocations: 89 kB / 0.7895 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3005, allocations: 4 kB / 0.7895 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3006, allocations: 19.98 kB / 0.7895 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.3007, allocations: 11.97 kB / 0.7895 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3007, allocations: 4 kB / 0.7895 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.243e-05/0.3008, allocations: 113.8 kB / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3008, allocations: 0 / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002609/0.3011, allocations: 43.88 kB / 0.7897 GB, free: 7.172 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.0001729/0.3013, allocations: 114.3 kB / 0.7898 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3017, allocations: 187.2 kB / 0.79 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3017, allocations: 3.938 kB / 0.79 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3019, allocations: 67.89 kB / 0.79 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3022, allocations: 12 kB / 0.79 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.3028, allocations: 279.1 kB / 0.7903 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3032, allocations: 0.7043 MB / 0.791 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.3033, allocations: 15.44 kB / 0.791 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.3033, allocations: 0 / 0.791 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.003872/0.3071, allocations: 1.507 MB / 0.7925 GB, free: 4.23 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