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.0011/0.001101, allocations: 89.78 kB / 16.67 MB, free: 6.594 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.001223/0.001223, allocations: 180.3 kB / 17.57 MB, free: 6.191 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.953/1.953, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2746/0.2746, allocations: 43.6 MB / 315.6 MB, free: 416 kB / 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.0005849/0.0005847, allocations: 18.3 kB / 385.2 MB, free: 56.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 58.86 MB / 444.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.001892/0.1442, allocations: 1.321 MB / 445.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.145, allocations: 0.5075 MB / 445.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1451, allocations: 0 / 445.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1453, allocations: 7.938 kB / 445.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.1454, allocations: 15.91 kB / 445.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1456, allocations: 31.92 kB / 446 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1458, allocations: 71.77 kB / 446 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1459, allocations: 32.2 kB / 446.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.146, allocations: 19.92 kB / 446.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.1461, allocations: 27.8 kB / 446.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1461, allocations: 7.938 kB / 446.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.1461, allocations: 0 / 446.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1461, allocations: 11.98 kB / 446.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.1462, allocations: 61.44 kB / 446.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.612e-05/0.1463, allocations: 47.91 kB / 446.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1463, allocations: 0 / 446.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1463, allocations: 0 / 446.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1464, allocations: 0 / 446.2 MB, free: 3.102 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.0005537/0.1469, allocations: 387.2 kB / 446.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.147, allocations: 8.031 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.147, allocations: 8.844 kB / 446.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1472, allocations: 200.1 kB / 446.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1472, allocations: 8.375 kB / 446.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1473, allocations: 8.359 kB / 446.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1474, allocations: 75.67 kB / 446.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1474, allocations: 4 kB / 446.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1474, allocations: 3.984 kB / 446.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1475, allocations: 0 / 446.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.1475, allocations: 35.98 kB / 447 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.148, allocations: 360.4 kB / 447.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.1482, allocations: 50.59 kB / 447.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1482, allocations: 16.8 kB / 447.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1482, allocations: 4 kB / 447.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1484, allocations: 67.44 kB / 447.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1484, allocations: 0 / 447.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000218/0.1486, allocations: 93.5 kB / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1487, allocations: 51.41 kB / 447.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1488, allocations: 144 kB / 447.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1488, allocations: 25.7 kB / 447.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.1488, allocations: 104 kB / 447.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1489, allocations: 15.81 kB / 447.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1489, allocations: 21.66 kB / 447.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.149, allocations: 326.8 kB / 448.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/0.149, allocations: 15.98 kB / 448.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.1491, allocations: 34.58 kB / 448.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.546e-05/0.1491, allocations: 54.5 kB / 448.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1492, allocations: 0 / 448.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.1493, allocations: 93.81 kB / 448.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1493, allocations: 4 kB / 448.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1493, allocations: 0 / 448.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1493, allocations: 7.938 kB / 448.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1494, allocations: 8 kB / 448.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1494, allocations: 4 kB / 448.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.1495, allocations: 24.03 kB / 448.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1495, allocations: 4 kB / 448.5 MB, free: 0.6406 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 8.367e-05/0.1496, allocations: 125 kB / 448.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.1496, allocations: 7.906 kB / 448.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.1496, allocations: 24.64 kB / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1497, allocations: 0 / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1497, allocations: 0 / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1497, allocations: 0 / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.1499, allocations: 342.5 kB / 449 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1499, allocations: 3.984 kB / 449 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.15, allocations: 7.938 kB / 449 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.15, allocations: 0 / 449 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.15, allocations: 4 kB / 449 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.15, allocations: 0 / 449 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.15, allocations: 0 / 449 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1503, allocations: 195.4 kB / 449.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.1504, allocations: 93.09 kB / 449.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1504, allocations: 0 / 449.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.1505, allocations: 4 kB / 449.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.1506, allocations: 11.98 kB / 449.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1506, allocations: 4 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.1507, allocations: 109.1 kB / 449.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1507, allocations: 0 / 449.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1509, allocations: 19.84 kB / 449.4 MB, free: 15.61 MB / 334.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.0001392/0.1511, allocations: 107.4 kB / 449.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1512, allocations: 43.92 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1512, allocations: 3.938 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.1513, allocations: 23.94 kB / 449.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1517, allocations: 19.92 kB / 449.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.1523, allocations: 271.2 kB / 449.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1527, allocations: 0.6965 MB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1527, allocations: 15.44 kB / 450.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1527, allocations: 0 / 450.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Templates: time 0.003241/0.156, allocations: 1.13 MB / 451.7 MB, free: 13.24 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