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.0009276/0.0009275, allocations: 102 kB / 15.71 MB, free: 456 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.001231/0.001231, allocations: 178.1 kB / 16.58 MB, free: 6.859 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.404/1.404, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.3 MB / 424.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8.812 kB / 0.504 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5436, allocations: 81.58 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002202/0.5459, allocations: 1.461 MB / 0.5851 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.5475, allocations: 1.005 MB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.5476, allocations: 6.312 kB / 0.5861 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.5479, allocations: 47.22 kB / 0.5861 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.5481, allocations: 67.14 kB / 0.5862 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.5487, allocations: 191.8 kB / 0.5864 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.549, allocations: 125.8 kB / 0.5865 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.5491, allocations: 17.53 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.5493, allocations: 52.64 kB / 0.5866 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.5494, allocations: 58.34 kB / 0.5866 GB, free: 2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.5494, allocations: 1.875 kB / 0.5866 GB, free: 2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.5496, allocations: 56.31 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.5497, allocations: 33.83 kB / 0.5867 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.5497, allocations: 48.42 kB / 0.5868 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.55, allocations: 148.2 kB / 0.5869 GB, free: 1.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.55, allocations: 0 / 0.5869 GB, free: 1.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.55, allocations: 0 / 0.5869 GB, free: 1.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.55, allocations: 0 / 0.5869 GB, free: 1.887 MB / 430.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.0005748/0.5506, allocations: 474.5 kB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5506, allocations: 9.656 kB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.5507, allocations: 19.89 kB / 0.5874 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.551, allocations: 245.1 kB / 0.5876 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.551, allocations: 1.469 kB / 0.5876 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.551, allocations: 3.719 kB / 0.5876 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.5512, allocations: 97.98 kB / 0.5877 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5513, allocations: 0 / 0.5877 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5513, allocations: 4 kB / 0.5877 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.5513, allocations: 3.344 kB / 0.5877 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.5514, allocations: 30.34 kB / 0.5877 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.5519, allocations: 359.4 kB / 0.5881 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.5522, allocations: 88.34 kB / 0.5882 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.5522, allocations: 39.03 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.5523, allocations: 2.141 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.5525, allocations: 78.39 kB / 0.5883 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.5525, allocations: 1.312 kB / 0.5883 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003834/0.5529, allocations: 140.3 kB / 0.5884 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.553, allocations: 114 kB / 0.5885 GB, free: 456 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.5533, allocations: 260 kB / 0.5888 GB, free: 304 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5533, allocations: 27.5 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.5533, allocations: 121.7 kB / 0.5889 GB, free: 160 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5534, allocations: 16.73 kB / 0.5889 GB, free: 148 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.5534, allocations: 11.88 kB / 0.589 GB, free: 136 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5535, allocations: 325.1 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.5536, allocations: 25.33 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.5537, allocations: 74.66 kB / 0.5894 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5539, allocations: 32.19 kB / 0.5894 GB, free: 15.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5539, allocations: 0 / 0.5894 GB, free: 15.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002365/0.5541, allocations: 112.2 kB / 0.5895 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5541, allocations: 5.688 kB / 0.5895 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5541, allocations: 5.156 kB / 0.5895 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5542, allocations: 10.05 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.5543, allocations: 11.72 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5543, allocations: 1.125 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.5544, allocations: 6.141 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5544, allocations: 2 kB / 0.5895 GB, free: 15.66 MB / 446.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 ($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.0001546/0.5545, allocations: 147.8 kB / 0.5897 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5546, allocations: 14.45 kB / 0.5897 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.5546, allocations: 23.02 kB / 0.5897 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5547, allocations: 6.922 kB / 0.5897 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5547, allocations: 3.953 kB / 0.5897 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5547, allocations: 1.469 kB / 0.5897 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.5549, allocations: 226.5 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.555, allocations: 0 / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.555, allocations: 6.156 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.555, allocations: 1.156 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.555, allocations: 2.141 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.555, allocations: 1.141 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.555, allocations: 0.6562 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.5553, allocations: 150.9 kB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.5554, allocations: 96.95 kB / 0.5902 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.5555, allocations: 2.484 kB / 0.5902 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.5555, allocations: 7.344 kB / 0.5902 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.5556, allocations: 11.92 kB / 0.5902 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.5556, allocations: 7.953 kB / 0.5902 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.5558, allocations: 199.6 kB / 0.5904 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5559, allocations: 4 kB / 0.5904 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000298/0.5562, allocations: 34.28 kB / 0.5904 GB, free: 14.94 MB / 446.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 (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.001081/0.5572, allocations: 430.1 kB / 0.5909 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.5575, allocations: 63.89 kB / 0.5909 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5575, allocations: 0.5625 kB / 0.5909 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5576, allocations: 36.78 kB / 0.5909 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.558, allocations: 36.03 kB / 0.591 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.5586, allocations: 340.3 kB / 0.5913 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5589, allocations: 0.7253 MB / 0.592 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.559, allocations: 19.11 kB / 0.592 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.559, allocations: 0 / 0.592 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Templates: time 0.006421/0.5654, allocations: 2.575 MB / 0.5945 GB, free: 13.51 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f IDEAS_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_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