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.001511/0.001517, allocations: 92.81 kB / 16.67 MB, free: 6.246 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.001752/0.001752, allocations: 172.6 kB / 17.57 MB, free: 5.859 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.038/2.038, 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.2817/0.2817, allocations: 43.59 MB / 315.6 MB, free: 420 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.0005466/0.0005469, allocations: 23.92 kB / 385.2 MB, free: 56.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 58.86 MB / 444.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001277/0.1426, allocations: 0.5394 MB / 444.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.1429, allocations: 55.86 kB / 444.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.143, allocations: 3.938 kB / 444.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1431, allocations: 0 / 444.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.1432, allocations: 3.938 kB / 444.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.1433, allocations: 15.98 kB / 444.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1434, allocations: 39.86 kB / 444.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1435, allocations: 23.95 kB / 444.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1436, allocations: 7.938 kB / 444.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.1436, allocations: 11.94 kB / 444.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1437, allocations: 4 kB / 444.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.1437, allocations: 0 / 444.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1437, allocations: 7.922 kB / 444.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.1438, allocations: 37.64 kB / 444.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.957e-05/0.1438, allocations: 19.95 kB / 444.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1439, allocations: 4 kB / 444.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1439, allocations: 0 / 444.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1439, allocations: 0 / 444.9 MB, free: 4.531 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.0003956/0.1443, allocations: 347.4 kB / 445.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1443, allocations: 8.031 kB / 445.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1444, allocations: 8.938 kB / 445.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1445, allocations: 184.1 kB / 445.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1446, allocations: 8.375 kB / 445.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1446, allocations: 384 / 445.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1447, allocations: 54.19 kB / 445.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1447, allocations: 192 / 445.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1448, allocations: 3.938 kB / 445.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1448, allocations: 4 kB / 445.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.1448, allocations: 12 kB / 445.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.1453, allocations: 292.7 kB / 445.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.1454, allocations: 23.33 kB / 445.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.1454, allocations: 8.859 kB / 445.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1455, allocations: 3.984 kB / 445.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.1456, allocations: 55.42 kB / 445.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1456, allocations: 3.938 kB / 445.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001693/0.1458, allocations: 49.59 kB / 445.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1458, allocations: 55.41 kB / 446 MB, free: 3.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.1459, allocations: 117.8 kB / 446.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.1459, allocations: 25.7 kB / 446.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.146, allocations: 92.16 kB / 446.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.146, allocations: 19.83 kB / 446.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.146, allocations: 17.7 kB / 446.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.1461, allocations: 318.8 kB / 446.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.1461, allocations: 4 kB / 446.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.1461, allocations: 21.7 kB / 446.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.1462, allocations: 21.72 kB / 446.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1462, allocations: 0 / 446.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.603e-05/0.1463, allocations: 61.81 kB / 446.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1463, allocations: 4 kB / 446.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1463, allocations: 0 / 446.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1463, allocations: 4.047 kB / 446.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.1463, allocations: 7.984 kB / 446.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1464, allocations: 0 / 446.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.1464, allocations: 4 kB / 446.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1464, allocations: 7.938 kB / 446.7 MB, free: 2.48 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 7.147e-05/0.1465, allocations: 113.8 kB / 446.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.1465, allocations: 11.92 kB / 446.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.1465, allocations: 7.906 kB / 446.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1465, allocations: 4 kB / 446.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1466, allocations: 3.938 kB / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1466, allocations: 0 / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1468, allocations: 302.5 kB / 447.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1468, allocations: 0 / 447.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.1469, allocations: 0 / 447.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1469, allocations: 4 kB / 447.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1469, allocations: 0 / 447.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1469, allocations: 8.312 kB / 447.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1469, allocations: 3.938 kB / 447.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.147, allocations: 143.5 kB / 447.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.147, allocations: 85 kB / 447.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1471, allocations: 7.938 kB / 447.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.1471, allocations: 11.97 kB / 447.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1472, allocations: 4.062 kB / 447.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1472, allocations: 4 kB / 447.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.1472, allocations: 91.27 kB / 447.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1472, allocations: 0 / 447.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1474, allocations: 4 kB / 447.5 MB, free: 1.582 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 8.123e-05/0.1475, allocations: 95.23 kB / 447.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.042e-05/0.1476, allocations: 23.92 kB / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1476, allocations: 64 / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.1476, allocations: 16 kB / 447.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1479, allocations: 15.92 kB / 447.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1482, allocations: 172.6 kB / 447.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.1484, allocations: 0.6925 MB / 448.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.1484, allocations: 11.44 kB / 448.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1484, allocations: 4 kB / 448.5 MB, free: 500 kB / 318.1 MB Notification: Performance of Templates: time 0.002326/0.1508, allocations: 0.7193 MB / 449.2 MB, free: 15.77 MB / 334.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