Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001659, allocations: 109.6 kB / 16.52 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 194.4 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3281/0.3281, allocations: 43.51 MB / 314.1 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002366, allocations: 67.95 kB / 382.7 MB, free: 56.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.214, allocations: 57.8 MB / 440.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.005179/0.2193, allocations: 1.937 MB / 442.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.2212, allocations: 0.9521 MB / 443.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2213, allocations: 3.938 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.2222, allocations: 183.6 kB / 443.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2225, allocations: 115.6 kB / 443.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2229, allocations: 151.4 kB / 443.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.2232, allocations: 263.3 kB / 444.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2234, allocations: 25.95 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2236, allocations: 87.69 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2237, allocations: 115.5 kB / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.2238, allocations: 12 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2239, allocations: 51.95 kB / 444.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2241, allocations: 59.83 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2242, allocations: 111.3 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.2245, allocations: 203.5 kB / 444.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.2245, allocations: 4 kB / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2245, allocations: 0 / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2245, allocations: 0 / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001229/0.2258, allocations: 0.6495 MB / 445.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.2258, allocations: 12.03 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.226, allocations: 32.64 kB / 445.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.2264, allocations: 282.7 kB / 445.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2265, allocations: 89.67 kB / 445.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.2265, allocations: 19.94 kB / 445.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.2269, allocations: 157 kB / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2269, allocations: 4 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.227, allocations: 4 kB / 446 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.227, allocations: 4 kB / 446 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2272, allocations: 91.88 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.2281, allocations: 0.6063 MB / 446.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.2285, allocations: 171.9 kB / 446.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2287, allocations: 94.55 kB / 446.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.2288, allocations: 7.984 kB / 446.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.2293, allocations: 437 kB / 447.3 MB, free: 280 kB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.2293, allocations: 0 / 447.3 MB, free: 280 kB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001048/0.2304, allocations: 438.3 kB / 447.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/0.2306, allocations: 221.5 kB / 448 MB, free: 15.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.2311, allocations: 313 kB / 448.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.2311, allocations: 33.7 kB / 448.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.2313, allocations: 140.5 kB / 448.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/0.2314, allocations: 55.34 kB / 448.5 MB, free: 15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2315, allocations: 49.7 kB / 448.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002974/0.2319, allocations: 334.8 kB / 448.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.232, allocations: 59.97 kB / 449 MB, free: 14.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.2323, allocations: 146.2 kB / 449.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.2329, allocations: 358.6 kB / 449.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2329, allocations: 0 / 449.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006889/0.2336, allocations: 354.7 kB / 449.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2337, allocations: 89.72 kB / 449.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2338, allocations: 4.375 kB / 449.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.2338, allocations: 4 kB / 449.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2339, allocations: 27.92 kB / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.2339, allocations: 4 kB / 449.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2341, allocations: 23.89 kB / 449.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2341, allocations: 12 kB / 450 MB, free: 13.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.000344/0.2345, allocations: 277.3 kB / 450.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.2345, allocations: 35.66 kB / 450.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.2346, allocations: 25.7 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2346, allocations: 0 / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.2346, allocations: 4 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2346, allocations: 192 / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.235, allocations: 289.4 kB / 450.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.235, allocations: 3.984 kB / 450.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.2351, allocations: 15.94 kB / 450.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2351, allocations: 4 kB / 450.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.2351, allocations: 8 kB / 450.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.2351, allocations: 0 / 450.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2351, allocations: 7.922 kB / 450.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.2359, allocations: 444.6 kB / 451 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2361, allocations: 108.7 kB / 451.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.2361, allocations: 15.98 kB / 451.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.2362, allocations: 19.98 kB / 451.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2364, allocations: 15.98 kB / 451.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.2364, allocations: 8 kB / 451.2 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.2367, allocations: 236.4 kB / 451.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2367, allocations: 0 / 451.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.2371, allocations: 64 kB / 451.5 MB, free: 11.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.001292/0.2384, allocations: 442 kB / 451.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.2391, allocations: 386 kB / 452.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2392, allocations: 0 / 452.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.2397, allocations: 346.1 kB / 452.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.2402, allocations: 61.86 kB / 452.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2413, allocations: 0.5203 MB / 453.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.2421, allocations: 0.7521 MB / 454 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.2422, allocations: 23.42 kB / 454 MB, free: 9.152 MB / 334.1 MB Notification: Performance of SimCode: time 4.458e-06/0.2422, allocations: 0 / 454 MB, free: 9.152 MB / 334.1 MB Notification: Performance of Templates: time 0.008582/0.2508, allocations: 3.515 MB / 457.5 MB, free: 5.633 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelayCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelayCalcHelperMain.o] Error 1