Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000889/0.0008891, allocations: 98.89 kB / 15.71 MB, free: 452 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.001283/0.001283, allocations: 180.9 kB / 16.58 MB, free: 6.422 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.472/1.472, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 13.41 kB / 0.5076 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 82.32 MB / 0.588 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002605/0.1786, allocations: 1.451 MB / 0.5894 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1806, allocations: 1.007 MB / 0.5904 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1808, allocations: 0 / 0.5904 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1811, allocations: 55.81 kB / 0.5904 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1814, allocations: 59.8 kB / 0.5905 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.1821, allocations: 182.9 kB / 0.5907 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1823, allocations: 123.6 kB / 0.5908 GB, free: 244 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1824, allocations: 33.08 kB / 0.5908 GB, free: 212 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1826, allocations: 55.7 kB / 0.5909 GB, free: 156 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1827, allocations: 51.75 kB / 0.5909 GB, free: 104 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1827, allocations: 4 kB / 0.5909 GB, free: 100 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1829, allocations: 55.97 kB / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.183, allocations: 35.89 kB / 0.591 GB, free: 8 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.183, allocations: 45.58 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1833, allocations: 144 kB / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1833, allocations: 3.984 kB / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1833, allocations: 4 kB / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1833, allocations: 4 kB / 0.5912 GB, free: 15.8 MB / 0.4981 GB 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.0006779/0.184, allocations: 464.2 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.184, allocations: 12.03 kB / 0.5917 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.1841, allocations: 15.81 kB / 0.5917 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1844, allocations: 243.7 kB / 0.5919 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1845, allocations: 4 kB / 0.5919 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.1845, allocations: 8 kB / 0.5919 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1847, allocations: 92.17 kB / 0.592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1847, allocations: 4 kB / 0.592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1847, allocations: 0 / 0.592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1848, allocations: 0 / 0.592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1849, allocations: 43.91 kB / 0.5921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1854, allocations: 356.6 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1857, allocations: 90.69 kB / 0.5925 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.1858, allocations: 32.84 kB / 0.5925 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1858, allocations: 0 / 0.5925 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.186, allocations: 79.38 kB / 0.5926 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.1861, allocations: 4 kB / 0.5926 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003537/0.1864, allocations: 141.4 kB / 0.5927 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.1865, allocations: 106.8 kB / 0.5928 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.1868, allocations: 262.9 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1869, allocations: 25.7 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.187, allocations: 128 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.187, allocations: 15.81 kB / 0.5932 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.187, allocations: 0 / 0.5932 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1871, allocations: 334.8 kB / 0.5936 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.1872, allocations: 23.98 kB / 0.5936 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.1873, allocations: 68.27 kB / 0.5937 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.1874, allocations: 31.92 kB / 0.5937 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1874, allocations: 0 / 0.5937 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.1876, allocations: 117.8 kB / 0.5938 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1877, allocations: 4 kB / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1877, allocations: 0 / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1877, allocations: 4 kB / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1878, allocations: 15.92 kB / 0.5938 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1878, allocations: 7.953 kB / 0.5938 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.1879, allocations: 7.938 kB / 0.5938 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1879, allocations: 4.188 kB / 0.5938 GB, free: 12.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.188, allocations: 146.6 kB / 0.594 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1881, allocations: 19.75 kB / 0.594 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1881, allocations: 21.39 kB / 0.594 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1882, allocations: 4 kB / 0.594 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1882, allocations: 0 / 0.594 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1882, allocations: 3.953 kB / 0.594 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1884, allocations: 221.5 kB / 0.5942 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1884, allocations: 0 / 0.5942 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.1884, allocations: 11.98 kB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.1885, allocations: 0 / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1885, allocations: 4 kB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1885, allocations: 4 kB / 0.5943 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1885, allocations: 0 / 0.5943 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1887, allocations: 148.8 kB / 0.5944 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1888, allocations: 100.8 kB / 0.5945 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1888, allocations: 7.984 kB / 0.5945 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.1889, allocations: 4 kB / 0.5945 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.189, allocations: 7.984 kB / 0.5945 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.189, allocations: 8 kB / 0.5945 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1892, allocations: 192.6 kB / 0.5947 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1892, allocations: 0 / 0.5947 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002608/0.1894, allocations: 32 kB / 0.5947 GB, free: 11.83 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000992/0.1904, allocations: 424 kB / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1907, allocations: 71.89 kB / 0.5952 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1907, allocations: 4.062 kB / 0.5952 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.1908, allocations: 31.98 kB / 0.5952 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1911, allocations: 46.23 kB / 0.5953 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.1916, allocations: 343.7 kB / 0.5956 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.192, allocations: 0.7243 MB / 0.5963 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.192, allocations: 27.42 kB / 0.5963 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.192, allocations: 0 / 0.5963 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.005113/0.1972, allocations: 2.569 MB / 0.5989 GB, free: 7.734 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1