Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 104.2 kB / 16.52 MB, free: 6.727 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.001658/0.001659, allocations: 187.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 1.981/1.981, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.3378/0.3378, allocations: 43.51 MB / 314.1 MB, free: 0.7422 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.002152/0.002152, allocations: 68.02 kB / 382.7 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2221, allocations: 57.79 MB / 440.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.004117/0.2264, allocations: 1.668 MB / 442.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2274, allocations: 0.5157 MB / 442.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.2276, allocations: 0 / 442.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.2278, allocations: 7.922 kB / 442.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.2279, allocations: 11.92 kB / 442.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2282, allocations: 39.91 kB / 442.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.2284, allocations: 71.72 kB / 442.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.2285, allocations: 36.42 kB / 442.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.2286, allocations: 27.92 kB / 442.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.2287, allocations: 31.78 kB / 442.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.2287, allocations: 4 kB / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.2288, allocations: 4 kB / 442.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.445e-05/0.2288, allocations: 11.94 kB / 442.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.2289, allocations: 35.73 kB / 442.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.229, allocations: 51.91 kB / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.229, allocations: 0 / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.229, allocations: 0 / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2291, allocations: 0 / 443 MB, free: 4.965 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008053/0.2299, allocations: 387.2 kB / 443.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.2299, allocations: 8.031 kB / 443.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.23, allocations: 12.84 kB / 443.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2303, allocations: 188.2 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2303, allocations: 8.375 kB / 443.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.2304, allocations: 8.375 kB / 443.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.2306, allocations: 77.86 kB / 443.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2306, allocations: 4 kB / 443.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2306, allocations: 11.98 kB / 443.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2306, allocations: 0 / 443.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.2307, allocations: 31.98 kB / 443.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.2315, allocations: 364.4 kB / 444.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2316, allocations: 42.58 kB / 444.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.2317, allocations: 20.92 kB / 444.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2317, allocations: 0 / 444.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.2319, allocations: 75.27 kB / 444.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2319, allocations: 0 / 444.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002861/0.2322, allocations: 85.52 kB / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.2323, allocations: 55.41 kB / 444.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2325, allocations: 152.5 kB / 444.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2325, allocations: 25.7 kB / 444.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.2326, allocations: 96.05 kB / 444.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.2326, allocations: 19.8 kB / 444.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2327, allocations: 25.72 kB / 444.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2329, allocations: 318.8 kB / 444.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.2329, allocations: 15.94 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.233, allocations: 46.5 kB / 445 MB, free: 2.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.001e-05/0.2331, allocations: 54.5 kB / 445.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2331, allocations: 0 / 445.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.2332, allocations: 89.52 kB / 445.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2332, allocations: 4 kB / 445.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2332, allocations: 0 / 445.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2333, allocations: 8 kB / 445.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.2334, allocations: 12 kB / 445.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2334, allocations: 0 / 445.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.2334, allocations: 12.06 kB / 445.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2335, allocations: 4 kB / 445.2 MB, free: 2.508 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,fallingEdge.not_u,$PRE.fallingEdge.not_u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001187/0.2336, allocations: 117.8 kB / 445.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.2336, allocations: 7.906 kB / 445.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.2337, allocations: 24.59 kB / 445.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2337, allocations: 7.984 kB / 445.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2337, allocations: 0 / 445.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2337, allocations: 0 / 445.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2341, allocations: 342.4 kB / 445.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2341, allocations: 0 / 445.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.2341, allocations: 4 kB / 445.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2341, allocations: 0 / 445.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2342, allocations: 8 kB / 445.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2342, allocations: 8.406 kB / 445.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2342, allocations: 0 / 445.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.2344, allocations: 199.3 kB / 445.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2345, allocations: 88.98 kB / 446 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.2345, allocations: 0 / 446 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.2346, allocations: 7.984 kB / 446 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.2347, allocations: 11.98 kB / 446 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2347, allocations: 0 / 446 MB, free: 1.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.808e-05/0.2348, allocations: 103.3 kB / 446.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2348, allocations: 4.062 kB / 446.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.235, allocations: 12 kB / 446.1 MB, free: 1.477 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: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.0001396/0.2352, allocations: 111.2 kB / 446.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2353, allocations: 39.98 kB / 446.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2354, allocations: 0 / 446.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.2354, allocations: 23.94 kB / 446.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2358, allocations: 27.75 kB / 446.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.2365, allocations: 270.8 kB / 446.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.2369, allocations: 0.7004 MB / 447.3 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2369, allocations: 11.44 kB / 447.3 MB, free: 248 kB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2369, allocations: 0 / 447.3 MB, free: 248 kB / 318.1 MB Notification: Performance of Templates: time 0.004184/0.2411, allocations: 1.137 MB / 448.4 MB, free: 15.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegratorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o] Error 1