Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005682/0.005682, allocations: 99.98 kB / 15.87 MB, free: 6.328 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.001013/0.001013, allocations: 192.3 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 422.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.5 kB / 0.5017 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.16, allocations: 80.21 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002817/0.1629, allocations: 1.876 MB / 0.5819 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.1637, allocations: 0.5338 MB / 0.5824 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1638, allocations: 11.94 kB / 0.5824 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1639, allocations: 11.86 kB / 0.5824 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.164, allocations: 19.81 kB / 0.5824 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.1642, allocations: 63.92 kB / 0.5825 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1644, allocations: 163.4 kB / 0.5826 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1645, allocations: 49.66 kB / 0.5827 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.1646, allocations: 55.7 kB / 0.5827 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.1647, allocations: 55.64 kB / 0.5828 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1647, allocations: 8 kB / 0.5828 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.1647, allocations: 4 kB / 0.5828 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.1647, allocations: 19.92 kB / 0.5828 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.1648, allocations: 59.61 kB / 0.5829 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1649, allocations: 92.06 kB / 0.583 GB, free: 6.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1649, allocations: 4 kB / 0.583 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.165, allocations: 3.938 kB / 0.583 GB, free: 6.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.165, allocations: 0 / 0.583 GB, free: 6.176 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006713/0.1656, allocations: 474.7 kB / 0.5834 GB, free: 5.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1657, allocations: 8.031 kB / 0.5834 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1657, allocations: 28.67 kB / 0.5835 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.166, allocations: 231.9 kB / 0.5837 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.166, allocations: 12.36 kB / 0.5837 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.166, allocations: 16.38 kB / 0.5837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1663, allocations: 149.4 kB / 0.5839 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1663, allocations: 0 / 0.5839 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1663, allocations: 4 kB / 0.5839 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1664, allocations: 4 kB / 0.5839 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.1666, allocations: 75.88 kB / 0.5839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.1674, allocations: 0.7353 MB / 0.5846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1676, allocations: 50.48 kB / 0.5847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1677, allocations: 36.83 kB / 0.5847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1677, allocations: 0 / 0.5847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.168, allocations: 126.1 kB / 0.5849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.168, allocations: 0 / 0.5849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004603/0.1684, allocations: 169.5 kB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1685, allocations: 132.5 kB / 0.5851 GB, free: 3.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1687, allocations: 199.1 kB / 0.5853 GB, free: 3.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1687, allocations: 29.69 kB / 0.5854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1688, allocations: 131.6 kB / 0.5855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1688, allocations: 43.59 kB / 0.5855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1689, allocations: 37.7 kB / 0.5856 GB, free: 3.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.169, allocations: 330.8 kB / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1692, allocations: 43.91 kB / 0.5859 GB, free: 2.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.1693, allocations: 152.1 kB / 0.5861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.1696, allocations: 202.3 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1696, allocations: 0 / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003718/0.17, allocations: 197.1 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.17, allocations: 8 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1701, allocations: 4 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1701, allocations: 4 kB / 0.5865 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1702, allocations: 40.41 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1702, allocations: 11.94 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1704, allocations: 27.83 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1704, allocations: 12 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001195/0.1705, allocations: 130 kB / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1706, allocations: 27.69 kB / 0.5867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1706, allocations: 21.41 kB / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1706, allocations: 256 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1706, allocations: 4 kB / 0.5867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1706, allocations: 7.984 kB / 0.5867 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.1714, allocations: 0.5093 MB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1714, allocations: 11.92 kB / 0.5872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1715, allocations: 19.92 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1715, allocations: 4 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1715, allocations: 4 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1715, allocations: 4 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1715, allocations: 3.938 kB / 0.5873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.172, allocations: 360.1 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.1721, allocations: 96.92 kB / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1721, allocations: 0 / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1723, allocations: 16.02 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1723, allocations: 15.92 kB / 0.5877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1723, allocations: 4 kB / 0.5877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1725, allocations: 144.4 kB / 0.5879 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1725, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1728, allocations: 32 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001273/0.1729, allocations: 103.2 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1732, allocations: 116.4 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1732, allocations: 4.312 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1734, allocations: 51.91 kB / 0.5882 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1739, allocations: 57.77 kB / 0.5882 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.1745, allocations: 416.3 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1748, allocations: 0.7245 MB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.1749, allocations: 19.44 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1749, allocations: 0 / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.003723/0.1786, allocations: 2.125 MB / 0.5914 GB, free: 12.95 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1