Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Switch2_test.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/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/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(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008089/0.000809, allocations: 100.5 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.00101/0.00101, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.587/1.587, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2553/0.2553, allocations: 5.198 MB / 296.9 MB, free: 4.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 359 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 51.55 MB / 410.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.004078/0.1376, allocations: 3.976 MB / 414.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.1422, allocations: 3.213 MB / 417.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.1425, allocations: 8 kB / 417.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.1432, allocations: 282.4 kB / 418 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1452, allocations: 1.041 MB / 419 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1455, allocations: 107.9 kB / 419.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009899/0.1465, allocations: 0.93 MB / 420.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.147, allocations: 418.9 kB / 420.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.1474, allocations: 258.9 kB / 420.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.1478, allocations: 390.5 kB / 421.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.1479, allocations: 24 kB / 421.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1492, allocations: 0.7135 MB / 421.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.1494, allocations: 299.2 kB / 422.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1496, allocations: 169.3 kB / 422.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.1506, allocations: 1.033 MB / 423.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1506, allocations: 4 kB / 423.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1506, allocations: 4 kB / 423.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1507, allocations: 0 / 423.3 MB, free: 1.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001992/0.1527, allocations: 1.199 MB / 424.5 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1527, allocations: 12.03 kB / 424.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2921/0.4448, allocations: 178.3 kB / 424.7 MB, free: 45.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.4469, allocations: 0.7068 MB / 425.4 MB, free: 45.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.4473, allocations: 173.6 kB / 425.6 MB, free: 44.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.4474, allocations: 34.84 kB / 425.6 MB, free: 44.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.4496, allocations: 0.8835 MB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4497, allocations: 1.891 kB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.4497, allocations: 13.22 kB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4498, allocations: 11.2 kB / 426.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.452, allocations: 1.043 MB / 427.6 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.4544, allocations: 1.733 MB / 429.3 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4554, allocations: 428.7 kB / 429.7 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.4564, allocations: 426.5 kB / 430.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.4565, allocations: 1.312 kB / 430.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.4577, allocations: 0.4932 MB / 430.6 MB, free: 44.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.4577, allocations: 0 / 430.6 MB, free: 44.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003393/0.4611, allocations: 1.271 MB / 431.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.4612, allocations: 158.5 kB / 432.1 MB, free: 43.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4626, allocations: 1.042 MB / 433.1 MB, free: 43.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.4626, allocations: 29.08 kB / 433.1 MB, free: 43.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.463, allocations: 373 kB / 433.5 MB, free: 43.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.4631, allocations: 35.94 kB / 433.5 MB, free: 43.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.4631, allocations: 5.688 kB / 433.5 MB, free: 43.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.4632, allocations: 312.1 kB / 433.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.4642, allocations: 424.3 kB / 434.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4652, allocations: 488.7 kB / 434.7 MB, free: 43.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.4661, allocations: 370.5 kB / 435.1 MB, free: 43.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4661, allocations: 8 kB / 435.1 MB, free: 43.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002048/0.4682, allocations: 0.8969 MB / 436 MB, free: 42.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4682, allocations: 12.59 kB / 436 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4682, allocations: 3.281 kB / 436 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4683, allocations: 0 / 436 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.4688, allocations: 143.1 kB / 436.2 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4688, allocations: 3.953 kB / 436.2 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.4696, allocations: 156.6 kB / 436.3 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4697, allocations: 17.77 kB / 436.3 MB, free: 42.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.switch2.count,switch2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0004299/0.4701, allocations: 309.1 kB / 436.6 MB, free: 42.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.4702, allocations: 70.94 kB / 436.7 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.4703, allocations: 77.69 kB / 436.8 MB, free: 42.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4703, allocations: 3.281 kB / 436.8 MB, free: 42.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4703, allocations: 3.562 kB / 436.8 MB, free: 42.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4703, allocations: 4.641 kB / 436.8 MB, free: 42.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.471, allocations: 0.6834 MB / 437.5 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4711, allocations: 0 / 437.5 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.4715, allocations: 140.8 kB / 437.6 MB, free: 42.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4715, allocations: 1.781 kB / 437.6 MB, free: 42.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.4716, allocations: 8.203 kB / 437.6 MB, free: 42.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4716, allocations: 3.953 kB / 437.6 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4716, allocations: 3.938 kB / 437.6 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.4736, allocations: 0.9 MB / 438.5 MB, free: 42.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.4738, allocations: 167.3 kB / 438.7 MB, free: 41.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4739, allocations: 7.219 kB / 438.7 MB, free: 41.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.4745, allocations: 144.4 kB / 438.8 MB, free: 41.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.4747, allocations: 55.16 kB / 438.9 MB, free: 41.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.4747, allocations: 6.656 kB / 438.9 MB, free: 41.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009713/0.4757, allocations: 0.7678 MB / 439.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4757, allocations: 0 / 439.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00079/0.4765, allocations: 262.5 kB / 439.9 MB, free: 41.55 MB / 350.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: 2 ($whenCondition1,switch2.count) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005902/0.4771, allocations: 248.4 kB / 440.2 MB, free: 41.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.4794, allocations: 0.8355 MB / 441 MB, free: 41.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4794, allocations: 3.344 kB / 441 MB, free: 41.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4805, allocations: 431.1 kB / 441.4 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.4817, allocations: 218.2 kB / 441.6 MB, free: 41.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.4846, allocations: 1.704 MB / 443.3 MB, free: 40.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.4852, allocations: 1.023 MB / 444.4 MB, free: 39.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.4854, allocations: 43.52 kB / 444.4 MB, free: 39.57 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4854, allocations: 6.344 kB / 444.4 MB, free: 39.56 MB / 350.1 MB Notification: Performance of Templates: time 0.02723/0.5127, allocations: 13.66 MB / 458.1 MB, free: 38.2 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.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 OMCppDeltaRobot_DeltaRobot.Tests.Switch2_testCalcHelperMain.o OMCppDeltaRobot_DeltaRobot.Tests.Switch2_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDeltaRobot_DeltaRobot.Tests.Switch2_testCalcHelperMain.o] Error 1