Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 100.2 kB / 15.71 MB, free: 452 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.001079/0.001079, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.519/1.519, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.116/1.116, allocations: 143.4 MB / 435.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 83.41 MB / 0.598 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002054/0.2356, allocations: 0.8887 MB / 0.5989 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2372, allocations: 0.675 MB / 0.5996 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.2375, allocations: 3.938 kB / 0.5996 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.2381, allocations: 239.5 kB / 0.5998 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.2388, allocations: 207.4 kB / 0.6 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.2396, allocations: 229.9 kB / 0.6002 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.2402, allocations: 323 kB / 0.6005 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.2405, allocations: 65.06 kB / 0.6006 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.2408, allocations: 139.4 kB / 0.6007 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.2412, allocations: 211.2 kB / 0.6009 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.2413, allocations: 8 kB / 0.6009 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.2415, allocations: 28 kB / 0.6009 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2417, allocations: 155.5 kB / 0.6011 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2418, allocations: 97.39 kB / 0.6012 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.2423, allocations: 355.4 kB / 0.6015 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2423, allocations: 0 / 0.6015 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2423, allocations: 0 / 0.6015 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.2424, allocations: 4 kB / 0.6015 GB, free: 4.23 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00182/0.2442, allocations: 0.8868 MB / 0.6024 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2442, allocations: 8.031 kB / 0.6024 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.2444, allocations: 63.16 kB / 0.6025 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.2452, allocations: 467.6 kB / 0.6029 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2453, allocations: 4 kB / 0.6029 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2453, allocations: 15.98 kB / 0.6029 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.246, allocations: 336.3 kB / 0.6033 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2461, allocations: 0 / 0.6033 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.2461, allocations: 0 / 0.6033 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.2461, allocations: 19.98 kB / 0.6033 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2473, allocations: 483.5 kB / 0.6037 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.2488, allocations: 0.8712 MB / 0.6046 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2501, allocations: 0.5672 MB / 0.6051 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.2507, allocations: 241.5 kB / 0.6054 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.2508, allocations: 11.94 kB / 0.6054 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2508, allocations: 42.56 kB / 0.6054 GB, free: 56 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.2508, allocations: 0 / 0.6054 GB, free: 56 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.4289/0.6798, allocations: 0.6988 MB / 0.6061 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.6799, allocations: 82.27 kB / 0.6062 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.6809, allocations: 0.8927 MB / 0.6071 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.681, allocations: 25.7 kB / 0.6071 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.6812, allocations: 281 kB / 0.6073 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.6812, allocations: 66.69 kB / 0.6074 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.6813, allocations: 5.406 kB / 0.6074 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6814, allocations: 377.9 kB / 0.6078 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.6818, allocations: 205.5 kB / 0.608 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.6823, allocations: 228.8 kB / 0.6082 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.6827, allocations: 190.4 kB / 0.6084 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6827, allocations: 0 / 0.6084 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009418/0.6836, allocations: 0.4961 MB / 0.6089 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6836, allocations: 4.703 kB / 0.6089 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6837, allocations: 2.844 kB / 0.6089 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6837, allocations: 7.844 kB / 0.6089 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.6841, allocations: 90.17 kB / 0.609 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.6841, allocations: 0 / 0.609 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6843, allocations: 65.55 kB / 0.609 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.6843, allocations: 11.62 kB / 0.609 GB, free: 40.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0002522/0.6846, allocations: 250.4 kB / 0.6093 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6847, allocations: 62.81 kB / 0.6093 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.6858, allocations: 0.5476 MB / 0.6099 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6859, allocations: 5.062 kB / 0.6099 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6859, allocations: 1.203 kB / 0.6099 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6859, allocations: 0 / 0.6099 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.6865, allocations: 493.4 kB / 0.6103 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.6865, allocations: 0 / 0.6103 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.6868, allocations: 93.81 kB / 0.6104 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6869, allocations: 4 kB / 0.6104 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.6869, allocations: 6.281 kB / 0.6104 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6869, allocations: 2.812 kB / 0.6104 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6869, allocations: 0 / 0.6104 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6879, allocations: 0.6738 MB / 0.6111 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.6881, allocations: 154 kB / 0.6112 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.6881, allocations: 6.125 kB / 0.6113 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.6884, allocations: 58.95 kB / 0.6113 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.6886, allocations: 94.16 kB / 0.6114 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6887, allocations: 17.02 kB / 0.6114 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006779/0.6893, allocations: 0.6447 MB / 0.612 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6893, allocations: 0 / 0.612 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003667/0.6897, allocations: 63.2 kB / 0.6121 GB, free: 39.28 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008884/0.6906, allocations: 371 kB / 0.6125 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009647/0.6916, allocations: 470.2 kB / 0.6129 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6916, allocations: 0 / 0.6129 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.6921, allocations: 274.3 kB / 0.6132 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.6927, allocations: 75.3 kB / 0.6132 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.6942, allocations: 1.131 MB / 0.6143 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6946, allocations: 0.8903 MB / 0.6152 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.6947, allocations: 46.23 kB / 0.6153 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.6948, allocations: 0 / 0.6153 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.009283/0.704, allocations: 6.479 MB / 0.6216 GB, free: 37.38 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.BoundaryConditions.Scenarios.Examples.StepFunctionExampleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExampleCalcHelperMain.o] Error 1