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.0009615/0.0009614, allocations: 98.56 kB / 16.02 MB, free: 76 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.001182/0.001182, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1981/0.1981, allocations: 5.189 MB / 297.3 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8 kB / 359.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 51.55 MB / 411.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.004753/0.1273, allocations: 4.191 MB / 415.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00608/0.1334, allocations: 3.445 MB / 418.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.1338, allocations: 4 kB / 418.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.1348, allocations: 263.2 kB / 419 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.1368, allocations: 0.6973 MB / 419.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1371, allocations: 95.91 kB / 419.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.1383, allocations: 1.043 MB / 420.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.139, allocations: 0.5353 MB / 421.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.1394, allocations: 254.8 kB / 421.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.1398, allocations: 390.4 kB / 422 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.1399, allocations: 20 kB / 422.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.1414, allocations: 0.8694 MB / 422.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.1417, allocations: 299.1 kB / 423.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.1421, allocations: 391.5 kB / 423.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1432, allocations: 1.041 MB / 424.6 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1432, allocations: 0 / 424.6 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1432, allocations: 0 / 424.6 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1432, allocations: 0 / 424.6 MB, free: 320 kB / 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.2666/0.4098, allocations: 1.191 MB / 425.8 MB, free: 45.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4099, allocations: 11.06 kB / 425.8 MB, free: 45.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.4112, allocations: 179.5 kB / 426 MB, free: 45.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.4125, allocations: 0.7357 MB / 426.7 MB, free: 44.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.4127, allocations: 176.5 kB / 426.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.4128, allocations: 36.66 kB / 427 MB, free: 44.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.4147, allocations: 0.8824 MB / 427.8 MB, free: 44.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4147, allocations: 6.031 kB / 427.8 MB, free: 44.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.4148, allocations: 16.12 kB / 427.9 MB, free: 44.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4148, allocations: 10.52 kB / 427.9 MB, free: 44.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.4173, allocations: 1.048 MB / 428.9 MB, free: 44.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.4196, allocations: 1.732 MB / 430.7 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.4209, allocations: 436.6 kB / 431.1 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.422, allocations: 418.9 kB / 431.5 MB, free: 43.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.422, allocations: 0 / 431.5 MB, free: 43.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.4232, allocations: 0.4917 MB / 432 MB, free: 43.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.4233, allocations: 0 / 432 MB, free: 43.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003657/0.4269, allocations: 1.274 MB / 433.3 MB, free: 43.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.427, allocations: 157.5 kB / 433.4 MB, free: 43.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.4284, allocations: 1.051 MB / 434.5 MB, free: 43.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.4285, allocations: 29.14 kB / 434.5 MB, free: 43.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.4289, allocations: 377 kB / 434.9 MB, free: 43.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.429, allocations: 43.16 kB / 434.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.4291, allocations: 21.64 kB / 434.9 MB, free: 43.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.4292, allocations: 311.5 kB / 435.2 MB, free: 42.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4303, allocations: 418.3 kB / 435.6 MB, free: 42.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.4316, allocations: 486.2 kB / 436.1 MB, free: 42.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.4337, allocations: 0.7489 MB / 436.9 MB, free: 42.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4338, allocations: 0 / 436.9 MB, free: 42.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002452/0.4362, allocations: 0.9055 MB / 437.8 MB, free: 42.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4363, allocations: 3.188 kB / 437.8 MB, free: 42.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4363, allocations: 7.938 kB / 437.8 MB, free: 42.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4363, allocations: 3.938 kB / 437.8 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.4369, allocations: 144.2 kB / 437.9 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.4369, allocations: 0 / 437.9 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.4378, allocations: 153.6 kB / 438.1 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.4379, allocations: 10.34 kB / 438.1 MB, free: 42.43 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 (switch2.count,$PRE.switch2.count,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004774/0.4384, allocations: 327.5 kB / 438.4 MB, free: 42.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4385, allocations: 74.3 kB / 438.5 MB, free: 42.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.4386, allocations: 80.56 kB / 438.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4386, allocations: 3.516 kB / 438.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4387, allocations: 2.875 kB / 438.6 MB, free: 42.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4387, allocations: 0.8438 kB / 438.6 MB, free: 42.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.4394, allocations: 0.6809 MB / 439.2 MB, free: 41.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4394, allocations: 5.25 kB / 439.2 MB, free: 41.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.4399, allocations: 131.8 kB / 439.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.44, allocations: 3.562 kB / 439.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.44, allocations: 7.312 kB / 439.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.44, allocations: 3.938 kB / 439.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.44, allocations: 0 / 439.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.4423, allocations: 0.8961 MB / 440.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.4425, allocations: 174 kB / 440.4 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4426, allocations: 11.12 kB / 440.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.4434, allocations: 141.3 kB / 440.6 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.4436, allocations: 55.27 kB / 440.7 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.4436, allocations: 6.469 kB / 440.7 MB, free: 41.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.4446, allocations: 0.7733 MB / 441.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4447, allocations: 0 / 441.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008559/0.4455, allocations: 260.9 kB / 441.7 MB, free: 41.04 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 (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.0007157/0.4462, allocations: 366.1 kB / 442 MB, free: 40.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.4486, allocations: 0.8426 MB / 442.9 MB, free: 40.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4486, allocations: 0 / 442.9 MB, free: 40.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4498, allocations: 437.8 kB / 443.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4508, allocations: 211.4 kB / 443.5 MB, free: 40.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.4535, allocations: 1.782 MB / 445.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.454, allocations: 1.025 MB / 446.3 MB, free: 39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.4543, allocations: 39.72 kB / 446.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4543, allocations: 4 kB / 446.4 MB, free: 38.98 MB / 350.1 MB Notification: Performance of Templates: time 0.02636/0.4807, allocations: 13.71 MB / 460.1 MB, free: 37.31 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.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 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