Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001638/0.001638, allocations: 100.1 kB / 15.88 MB, free: 12 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.001265/0.001265, allocations: 198.7 kB / 16.79 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 302.3 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 94.61 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2144, allocations: 86.99 MB / 0.6801 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003037/0.2175, allocations: 1.607 MB / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2185, allocations: 0.5928 MB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.2186, allocations: 0 / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2187, allocations: 3.938 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.2188, allocations: 19.78 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2191, allocations: 67.92 kB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2193, allocations: 91.64 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2194, allocations: 24.2 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2195, allocations: 39.84 kB / 0.6825 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.2196, allocations: 47.77 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2196, allocations: 4 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2197, allocations: 55.95 kB / 0.6826 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.2198, allocations: 19.92 kB / 0.6826 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.2199, allocations: 43.72 kB / 0.6826 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.22, allocations: 96.05 kB / 0.6827 GB, free: 14.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.22, allocations: 4 kB / 0.6827 GB, free: 14.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.22, allocations: 0 / 0.6827 GB, free: 14.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.22, allocations: 0 / 0.6827 GB, free: 14.49 MB / 494.1 MB 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.0007778/0.2208, allocations: 448.8 kB / 0.6831 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2209, allocations: 8.031 kB / 0.6831 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.2209, allocations: 16.75 kB / 0.6832 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.2211, allocations: 193.5 kB / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2211, allocations: 4.375 kB / 0.6834 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.2212, allocations: 4.375 kB / 0.6834 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.2215, allocations: 109.9 kB / 0.6835 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2215, allocations: 0 / 0.6835 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2215, allocations: 4 kB / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2215, allocations: 4 kB / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.2219, allocations: 87.92 kB / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.2226, allocations: 344.6 kB / 0.6839 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.2229, allocations: 98.45 kB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2231, allocations: 64.81 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2231, allocations: 0 / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.2234, allocations: 115.3 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2234, allocations: 0 / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000646/0.2241, allocations: 201.4 kB / 0.6843 GB, free: 12.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2241, allocations: 55.41 kB / 0.6844 GB, free: 12.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2243, allocations: 143.4 kB / 0.6845 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2243, allocations: 25.7 kB / 0.6846 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.2244, allocations: 108 kB / 0.6847 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2244, allocations: 27.7 kB / 0.6847 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.2245, allocations: 25.72 kB / 0.6847 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2246, allocations: 326.8 kB / 0.685 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2248, allocations: 59.89 kB / 0.6851 GB, free: 11.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.225, allocations: 59.94 kB / 0.6851 GB, free: 11.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.2253, allocations: 142.5 kB / 0.6853 GB, free: 11.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2253, allocations: 4 kB / 0.6853 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004488/0.2258, allocations: 207 kB / 0.6855 GB, free: 11.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.2258, allocations: 33.69 kB / 0.6855 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2258, allocations: 0 / 0.6855 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.2259, allocations: 4 kB / 0.6855 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.226, allocations: 19.98 kB / 0.6855 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.226, allocations: 0 / 0.6855 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2262, allocations: 15.97 kB / 0.6855 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2262, allocations: 4 kB / 0.6855 GB, free: 11.34 MB / 494.1 MB 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 9.843e-05/0.2263, allocations: 123.1 kB / 0.6857 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.2263, allocations: 12.38 kB / 0.6857 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.2264, allocations: 12.7 kB / 0.6857 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.2264, allocations: 8 kB / 0.6857 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2264, allocations: 0 / 0.6857 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2264, allocations: 0 / 0.6857 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2266, allocations: 209.4 kB / 0.6859 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2266, allocations: 0 / 0.6859 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2267, allocations: 19.92 kB / 0.6859 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2267, allocations: 4 kB / 0.6859 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2267, allocations: 4 kB / 0.6859 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2268, allocations: 4.062 kB / 0.6859 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2268, allocations: 7.922 kB / 0.6859 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.2272, allocations: 184.9 kB / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2273, allocations: 88.95 kB / 0.6862 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2273, allocations: 4 kB / 0.6862 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2274, allocations: 11.98 kB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.2275, allocations: 19.91 kB / 0.6862 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2275, allocations: 4 kB / 0.6862 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.2276, allocations: 108.8 kB / 0.6863 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2276, allocations: 0 / 0.6863 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.2279, allocations: 39.94 kB / 0.6864 GB, free: 10.4 MB / 494.1 MB 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.0001792/0.2281, allocations: 119.2 kB / 0.6865 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.2285, allocations: 187.2 kB / 0.6867 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2285, allocations: 0 / 0.6867 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2287, allocations: 63.95 kB / 0.6867 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.229, allocations: 12 kB / 0.6867 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.2296, allocations: 267.2 kB / 0.687 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.23, allocations: 0.7043 MB / 0.6877 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.23, allocations: 15.38 kB / 0.6877 GB, free: 8.965 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2301, allocations: 0 / 0.6877 GB, free: 8.965 MB / 494.1 MB Notification: Performance of Templates: time 0.003718/0.2338, allocations: 1.509 MB / 0.6892 GB, free: 7.465 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1