Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7076/0.7076, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.59 kB / 0.5017 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.21 MB / 0.58 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002994/0.1629, allocations: 1.813 MB / 0.5818 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1644, allocations: 1.104 MB / 0.5829 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.1645, allocations: 0 / 0.5829 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1648, allocations: 55.81 kB / 0.5829 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.165, allocations: 63.81 kB / 0.583 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.1655, allocations: 201.3 kB / 0.5832 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1656, allocations: 135.6 kB / 0.5833 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.1657, allocations: 21.11 kB / 0.5833 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.1658, allocations: 59.66 kB / 0.5834 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.1659, allocations: 67.73 kB / 0.5835 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1659, allocations: 0 / 0.5835 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1661, allocations: 67.89 kB / 0.5835 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1661, allocations: 35.91 kB / 0.5836 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1662, allocations: 51.61 kB / 0.5836 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1664, allocations: 148 kB / 0.5837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1664, allocations: 0 / 0.5837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1664, allocations: 0 / 0.5837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1664, allocations: 0 / 0.5837 GB, free: 5.383 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005796/0.167, allocations: 496.3 kB / 0.5842 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.167, allocations: 8.031 kB / 0.5842 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.1671, allocations: 20.75 kB / 0.5842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1673, allocations: 249.5 kB / 0.5845 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1674, allocations: 4.375 kB / 0.5845 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1674, allocations: 8.125 kB / 0.5845 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1676, allocations: 96.11 kB / 0.5846 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1676, allocations: 4 kB / 0.5846 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1676, allocations: 4 kB / 0.5846 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1676, allocations: 4 kB / 0.5846 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.1677, allocations: 31.97 kB / 0.5846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1682, allocations: 356.6 kB / 0.585 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1684, allocations: 94.69 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.1685, allocations: 28.84 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1685, allocations: 4 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.1687, allocations: 79.38 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1687, allocations: 0 / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003321/0.169, allocations: 145.4 kB / 0.5853 GB, free: 3.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1691, allocations: 114.8 kB / 0.5854 GB, free: 3.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1693, allocations: 251.2 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1693, allocations: 33.7 kB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1694, allocations: 120 kB / 0.5858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1694, allocations: 15.8 kB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1695, allocations: 29.7 kB / 0.5858 GB, free: 2.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1696, allocations: 330.8 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.1697, allocations: 23.98 kB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.1698, allocations: 76.22 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1699, allocations: 69.69 kB / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1699, allocations: 0 / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.1701, allocations: 113.4 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1702, allocations: 8 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1702, allocations: 4.031 kB / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1702, allocations: 0 / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.1703, allocations: 15.98 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1703, allocations: 0 / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.1704, allocations: 15.78 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1704, allocations: 12.19 kB / 0.5865 GB, free: 2.305 MB / 494.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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.000111/0.1705, allocations: 138.7 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1705, allocations: 23.73 kB / 0.5866 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.1706, allocations: 25.34 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1706, allocations: 0 / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1706, allocations: 0 / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1706, allocations: 3.938 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1708, allocations: 225.6 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1708, allocations: 0 / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.1708, allocations: 4 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1708, allocations: 0 / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1709, allocations: 4 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1709, allocations: 0 / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1709, allocations: 0 / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1711, allocations: 148.9 kB / 0.587 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.1712, allocations: 96.91 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1712, allocations: 3.984 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.1713, allocations: 11.94 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1713, allocations: 7.984 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1713, allocations: 11.88 kB / 0.5872 GB, free: 1.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1715, allocations: 192.4 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1715, allocations: 4 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1717, allocations: 39.98 kB / 0.5874 GB, free: 1.285 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008574/0.1726, allocations: 428.4 kB / 0.5878 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1728, allocations: 63.97 kB / 0.5879 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1728, allocations: 0 / 0.5879 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.1729, allocations: 35.92 kB / 0.5879 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1732, allocations: 45.62 kB / 0.5879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.1736, allocations: 358.3 kB / 0.5883 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1739, allocations: 0.7207 MB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.174, allocations: 27.42 kB / 0.589 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.174, allocations: 0 / 0.589 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.003784/0.1777, allocations: 2.594 MB / 0.5915 GB, free: 13.18 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicatorCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1