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.0008296/0.0008296, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008816/0.0008816, allocations: 173 kB / 16.92 MB, free: 6.652 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.276/1.276, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.69/0.69, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004132, allocations: 8 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4139, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.001887/0.4158, allocations: 1.487 MB / 0.5857 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4174, allocations: 1.058 MB / 0.5868 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4175, allocations: 1.531 kB / 0.5868 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.4178, allocations: 60.11 kB / 0.5868 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.4181, allocations: 74.89 kB / 0.5869 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.4188, allocations: 195.2 kB / 0.5871 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.419, allocations: 135.5 kB / 0.5872 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4191, allocations: 17.77 kB / 0.5872 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4192, allocations: 59.78 kB / 0.5873 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4194, allocations: 62.95 kB / 0.5874 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4194, allocations: 2.531 kB / 0.5874 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.4195, allocations: 60.91 kB / 0.5874 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.4196, allocations: 30.94 kB / 0.5874 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.4197, allocations: 89.28 kB / 0.5875 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.42, allocations: 145.9 kB / 0.5877 GB, free: 1.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.42, allocations: 1.406 kB / 0.5877 GB, free: 1.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.42, allocations: 0 / 0.5877 GB, free: 1.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.42, allocations: 0 / 0.5877 GB, free: 1.809 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.0005822/0.4206, allocations: 468.1 kB / 0.5881 GB, free: 1.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4206, allocations: 9 kB / 0.5881 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.4207, allocations: 17.31 kB / 0.5881 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.421, allocations: 254.7 kB / 0.5884 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.421, allocations: 5.75 kB / 0.5884 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.421, allocations: 8.188 kB / 0.5884 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4212, allocations: 92.44 kB / 0.5885 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4212, allocations: 0.7812 kB / 0.5885 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4212, allocations: 6 kB / 0.5885 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.4213, allocations: 1.188 kB / 0.5885 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4214, allocations: 35.83 kB / 0.5885 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.4219, allocations: 352 kB / 0.5889 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.4221, allocations: 96.27 kB / 0.589 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.4222, allocations: 31.52 kB / 0.589 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4222, allocations: 1.344 kB / 0.589 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.4224, allocations: 79.56 kB / 0.5891 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4224, allocations: 0 / 0.5891 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003564/0.4228, allocations: 141.5 kB / 0.5892 GB, free: 0.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4229, allocations: 108.9 kB / 0.5893 GB, free: 380 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4231, allocations: 258.2 kB / 0.5895 GB, free: 232 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4232, allocations: 30.92 kB / 0.5896 GB, free: 196 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.4232, allocations: 121.4 kB / 0.5897 GB, free: 84 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4233, allocations: 32.22 kB / 0.5897 GB, free: 56 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.4233, allocations: 19.08 kB / 0.5897 GB, free: 36 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4235, allocations: 328.4 kB / 0.5901 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.4235, allocations: 30.14 kB / 0.5901 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4237, allocations: 72.2 kB / 0.5901 GB, free: 15.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4238, allocations: 70.73 kB / 0.5902 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4238, allocations: 0 / 0.5902 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.4241, allocations: 109.7 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4241, allocations: 8.531 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4241, allocations: 0.7188 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4241, allocations: 5.938 kB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4242, allocations: 13.11 kB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4242, allocations: 1.172 kB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.4243, allocations: 13.25 kB / 0.5904 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.4243, allocations: 3.203 kB / 0.5904 GB, free: 15.54 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 ($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.0001494/0.4245, allocations: 140.9 kB / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4245, allocations: 20.25 kB / 0.5905 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.4246, allocations: 23.31 kB / 0.5905 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4246, allocations: 0.9688 kB / 0.5905 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4246, allocations: 1.219 kB / 0.5905 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.4246, allocations: 5.062 kB / 0.5905 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.4249, allocations: 222.5 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4249, allocations: 0.7031 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.4249, allocations: 6.344 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.425, allocations: 9.156 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.425, allocations: 5.938 kB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.425, allocations: 4.609 kB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.425, allocations: 4.641 kB / 0.5908 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.4252, allocations: 143.1 kB / 0.5909 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.4253, allocations: 96.66 kB / 0.591 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4254, allocations: 2.625 kB / 0.591 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.4254, allocations: 4.094 kB / 0.591 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.4255, allocations: 15.02 kB / 0.591 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4255, allocations: 11.59 kB / 0.5911 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4257, allocations: 197.7 kB / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4257, allocations: 192 / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.426, allocations: 35.73 kB / 0.5913 GB, free: 14.81 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 (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.001012/0.427, allocations: 421 kB / 0.5917 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.4273, allocations: 68 kB / 0.5917 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4273, allocations: 1.344 kB / 0.5917 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4274, allocations: 40.11 kB / 0.5918 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4278, allocations: 36.95 kB / 0.5918 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.4285, allocations: 357.8 kB / 0.5922 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4289, allocations: 0.7211 MB / 0.5929 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.429, allocations: 22.58 kB / 0.5929 GB, free: 13.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.429, allocations: 0 / 0.5929 GB, free: 13.64 MB / 446.1 MB Notification: Performance of Templates: time 0.006511/0.4355, allocations: 2.567 MB / 0.5954 GB, free: 13.37 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++ -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