Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008804/0.0008802, allocations: 103 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.0009716/0.0009715, allocations: 180 kB / 16.59 MB, free: 6.148 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.55/1.55, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.111/1.111, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 83.41 MB / 0.5981 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002483/0.2538, allocations: 1.245 MB / 0.5993 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2552, allocations: 0.5341 MB / 0.5998 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.2553, allocations: 0 / 0.5998 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.2554, allocations: 7.922 kB / 0.5998 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.2555, allocations: 19.8 kB / 0.5998 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.256, allocations: 71.91 kB / 0.5999 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.2562, allocations: 83.64 kB / 0.6 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2563, allocations: 16.23 kB / 0.6 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2565, allocations: 39.83 kB / 0.6 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2566, allocations: 39.83 kB / 0.6001 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2567, allocations: 4 kB / 0.6001 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2568, allocations: 43.97 kB / 0.6001 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.2569, allocations: 19.91 kB / 0.6001 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.2569, allocations: 37.64 kB / 0.6002 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2572, allocations: 100 kB / 0.6003 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2572, allocations: 0 / 0.6003 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2572, allocations: 0 / 0.6003 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2572, allocations: 0 / 0.6003 GB, free: 5.555 MB / 0.4981 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.001003/0.2582, allocations: 448.7 kB / 0.6007 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2583, allocations: 8.031 kB / 0.6007 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.2583, allocations: 11.84 kB / 0.6007 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.2586, allocations: 196.9 kB / 0.6009 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2587, allocations: 7.938 kB / 0.6009 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.2587, allocations: 4 kB / 0.6009 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.2591, allocations: 117.6 kB / 0.601 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2592, allocations: 4 kB / 0.601 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2592, allocations: 0 / 0.601 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.2592, allocations: 4 kB / 0.601 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.2597, allocations: 115.9 kB / 0.6011 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.2607, allocations: 360.6 kB / 0.6015 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.2612, allocations: 106.5 kB / 0.6016 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.2615, allocations: 68.88 kB / 0.6016 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2615, allocations: 0 / 0.6016 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.262, allocations: 131.2 kB / 0.6018 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.262, allocations: 0 / 0.6018 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009329/0.2629, allocations: 233.4 kB / 0.602 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.263, allocations: 59.34 kB / 0.602 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.2632, allocations: 137.8 kB / 0.6022 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2632, allocations: 29.7 kB / 0.6022 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.2633, allocations: 100 kB / 0.6023 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.2634, allocations: 27.64 kB / 0.6023 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.2634, allocations: 4.062 kB / 0.6023 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2636, allocations: 322.8 kB / 0.6026 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.2639, allocations: 67.95 kB / 0.6027 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.2642, allocations: 59.95 kB / 0.6028 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2645, allocations: 101.7 kB / 0.6029 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2645, allocations: 0 / 0.6029 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006908/0.2652, allocations: 219.1 kB / 0.6031 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.2653, allocations: 37.66 kB / 0.6031 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2653, allocations: 0 / 0.6031 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2653, allocations: 0 / 0.6031 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2655, allocations: 23.97 kB / 0.6031 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2655, allocations: 8 kB / 0.6031 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2657, allocations: 23.83 kB / 0.6032 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2658, allocations: 11.98 kB / 0.6032 GB, free: 2.324 MB / 0.4981 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.0001511/0.2659, allocations: 117.9 kB / 0.6033 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.266, allocations: 11.91 kB / 0.6033 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.266, allocations: 12.67 kB / 0.6033 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.2661, allocations: 11.98 kB / 0.6033 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2661, allocations: 0 / 0.6033 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2661, allocations: 0 / 0.6033 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.2664, allocations: 194.1 kB / 0.6035 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2664, allocations: 0 / 0.6035 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2665, allocations: 27.91 kB / 0.6035 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2665, allocations: 0 / 0.6035 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2666, allocations: 3.938 kB / 0.6035 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2666, allocations: 7.891 kB / 0.6035 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2666, allocations: 8 kB / 0.6035 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.2672, allocations: 200.8 kB / 0.6037 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.2672, allocations: 85.02 kB / 0.6038 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.2673, allocations: 7.984 kB / 0.6038 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2674, allocations: 19.92 kB / 0.6038 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.2675, allocations: 15.94 kB / 0.6039 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2676, allocations: 3.984 kB / 0.6039 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.2677, allocations: 113.7 kB / 0.604 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2677, allocations: 0 / 0.604 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003967/0.2681, allocations: 36 kB / 0.604 GB, free: 1.367 MB / 0.4981 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.0002237/0.2683, allocations: 111.2 kB / 0.6041 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.2689, allocations: 203.2 kB / 0.6043 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.269, allocations: 0 / 0.6043 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.2693, allocations: 75.94 kB / 0.6044 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2696, allocations: 19.92 kB / 0.6044 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.2703, allocations: 280.8 kB / 0.6047 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4192/0.6896, allocations: 0.6967 MB / 0.6053 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6898, allocations: 17.36 kB / 0.6054 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/0.6898, allocations: 0 / 0.6054 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.003554/0.6933, allocations: 1.486 MB / 0.6068 GB, free: 40.57 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1