Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001836, allocations: 105.5 kB / 16.52 MB, free: 6.668 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.00199/0.00199, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.705/2.705, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.3777/0.3777, allocations: 43.53 MB / 314.2 MB, free: 0.75 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.002268/0.002268, allocations: 65.81 kB / 382.7 MB, free: 56.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2412, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.003597/0.2449, allocations: 0.8787 MB / 441.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.2453, allocations: 43.83 kB / 441.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2454, allocations: 0 / 441.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2456, allocations: 3.938 kB / 441.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.2457, allocations: 15.92 kB / 441.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2459, allocations: 15.98 kB / 441.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.246, allocations: 31.86 kB / 441.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2462, allocations: 24.2 kB / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.2463, allocations: 7.938 kB / 441.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.2463, allocations: 15.92 kB / 441.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2464, allocations: 0 / 441.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.2464, allocations: 4 kB / 441.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.2464, allocations: 7.938 kB / 441.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2465, allocations: 23.84 kB / 441.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2466, allocations: 23.97 kB / 441.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.2466, allocations: 0 / 441.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2466, allocations: 0 / 441.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2467, allocations: 0 / 441.6 MB, free: 6.406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008175/0.2475, allocations: 343.5 kB / 441.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.2476, allocations: 12.03 kB / 441.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.2476, allocations: 8.844 kB / 441.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.2479, allocations: 180.2 kB / 442.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2479, allocations: 4.312 kB / 442.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.248, allocations: 8.375 kB / 442.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.2482, allocations: 50.25 kB / 442.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2482, allocations: 192 / 442.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2482, allocations: 3.938 kB / 442.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2482, allocations: 0 / 442.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.2483, allocations: 19.97 kB / 442.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.249, allocations: 296.7 kB / 442.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.2491, allocations: 26.58 kB / 442.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.2492, allocations: 12.92 kB / 442.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2492, allocations: 0 / 442.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.2493, allocations: 55.34 kB / 442.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2493, allocations: 0 / 442.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002351/0.2496, allocations: 49.59 kB / 442.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.2497, allocations: 59.41 kB / 442.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2498, allocations: 113.8 kB / 442.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2498, allocations: 29.7 kB / 442.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.2499, allocations: 88.12 kB / 442.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.25, allocations: 11.81 kB / 442.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.25, allocations: 17.72 kB / 442.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.2503, allocations: 319.2 kB / 443.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.2503, allocations: 8 kB / 443.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.2503, allocations: 21.66 kB / 443.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.2504, allocations: 30.08 kB / 443.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2504, allocations: 0 / 443.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.951e-05/0.2505, allocations: 49.64 kB / 443.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2505, allocations: 4 kB / 443.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2505, allocations: 7.922 kB / 443.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.2506, allocations: 4 kB / 443.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.2506, allocations: 8.031 kB / 443.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2506, allocations: 0 / 443.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.2507, allocations: 3.938 kB / 443.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2507, allocations: 7.938 kB / 443.4 MB, free: 4.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001302/0.2508, allocations: 113.8 kB / 443.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.2508, allocations: 7.906 kB / 443.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.2509, allocations: 15.83 kB / 443.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.2509, allocations: 0 / 443.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.2509, allocations: 4 kB / 443.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2509, allocations: 4 kB / 443.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.2513, allocations: 294.5 kB / 443.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2513, allocations: 0 / 443.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2514, allocations: 8.359 kB / 443.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2514, allocations: 0 / 443.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2514, allocations: 0 / 443.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2514, allocations: 3.938 kB / 443.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2514, allocations: 0 / 443.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2516, allocations: 163.4 kB / 444 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.2517, allocations: 77.11 kB / 444 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2517, allocations: 0 / 444 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.2518, allocations: 7.922 kB / 444.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.2518, allocations: 4 kB / 444.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2518, allocations: 8 kB / 444.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.2519, allocations: 91.27 kB / 444.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2519, allocations: 0 / 444.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.2522, allocations: 8 kB / 444.2 MB, free: 3.453 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001519/0.2523, allocations: 99.3 kB / 444.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2524, allocations: 23.92 kB / 444.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2525, allocations: 0 / 444.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.2525, allocations: 8 kB / 444.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2528, allocations: 4.281 kB / 444.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.2534, allocations: 193.7 kB / 444.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.2539, allocations: 0.6887 MB / 445.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.2539, allocations: 7.438 kB / 445.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2539, allocations: 0 / 445.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of Templates: time 0.002996/0.2569, allocations: 0.7306 MB / 445.9 MB, free: 1.633 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegratorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegratorCalcHelperMain.o] Error 1