Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 91.77 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.001052/0.001052, allocations: 178.9 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.251/1.251, allocations: 223.2 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.702/0.702, allocations: 132.3 MB / 424.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 13.08 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4496, allocations: 81.58 MB / 0.5843 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001787/0.4514, allocations: 1.493 MB / 0.5857 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4528, allocations: 0.9921 MB / 0.5867 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.4529, allocations: 5.438 kB / 0.5867 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.4534, allocations: 149.6 kB / 0.5869 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.4537, allocations: 103.1 kB / 0.587 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.4541, allocations: 159 kB / 0.5871 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.4544, allocations: 163.7 kB / 0.5873 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4545, allocations: 22.56 kB / 0.5873 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4546, allocations: 59.95 kB / 0.5873 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.4547, allocations: 64.77 kB / 0.5874 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.4547, allocations: 3.031 kB / 0.5874 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4549, allocations: 51.2 kB / 0.5875 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.455, allocations: 36.23 kB / 0.5875 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.455, allocations: 81.05 kB / 0.5876 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.4553, allocations: 155.4 kB / 0.5877 GB, free: 1.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4553, allocations: 4 kB / 0.5877 GB, free: 1.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4553, allocations: 0 / 0.5877 GB, free: 1.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.4553, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005521/0.4559, allocations: 472 kB / 0.5882 GB, free: 1.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4559, allocations: 10.56 kB / 0.5882 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.456, allocations: 15.69 kB / 0.5882 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.4562, allocations: 242.5 kB / 0.5884 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4563, allocations: 10.5 kB / 0.5884 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4563, allocations: 7.344 kB / 0.5884 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4565, allocations: 95.58 kB / 0.5885 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4565, allocations: 0 / 0.5885 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4565, allocations: 2.109 kB / 0.5885 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4565, allocations: 2.156 kB / 0.5885 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/0.4566, allocations: 32.05 kB / 0.5886 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.4572, allocations: 370.6 kB / 0.5889 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.4574, allocations: 70.89 kB / 0.589 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.4575, allocations: 36.11 kB / 0.589 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4575, allocations: 1.75 kB / 0.589 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.4577, allocations: 88.84 kB / 0.5891 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4577, allocations: 3.938 kB / 0.5891 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003334/0.458, allocations: 141 kB / 0.5892 GB, free: 0.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.4581, allocations: 78.27 kB / 0.5893 GB, free: 416 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4583, allocations: 262 kB / 0.5896 GB, free: 260 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4584, allocations: 26.67 kB / 0.5896 GB, free: 228 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.4584, allocations: 124.1 kB / 0.5897 GB, free: 112 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4585, allocations: 18.16 kB / 0.5897 GB, free: 100 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.4585, allocations: 16.28 kB / 0.5897 GB, free: 84 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4586, allocations: 333.5 kB / 0.5901 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.4587, allocations: 25.7 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.4588, allocations: 59.02 kB / 0.5901 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.459, allocations: 81.92 kB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.459, allocations: 0.7031 kB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002054/0.4592, allocations: 122.2 kB / 0.5903 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4592, allocations: 4.938 kB / 0.5903 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4592, allocations: 1.281 kB / 0.5903 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4592, allocations: 5.234 kB / 0.5904 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.4593, allocations: 11.62 kB / 0.5904 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4593, allocations: 0.6094 kB / 0.5904 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4594, allocations: 18.27 kB / 0.5904 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4594, allocations: 2.5 kB / 0.5904 GB, free: 15.57 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001228/0.4596, allocations: 151.8 kB / 0.5905 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.4596, allocations: 15.5 kB / 0.5905 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.4596, allocations: 18.52 kB / 0.5906 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4597, allocations: 7.594 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4597, allocations: 1.031 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4597, allocations: 4.641 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.4599, allocations: 214.4 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4599, allocations: 4.531 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.4599, allocations: 3.984 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4599, allocations: 1.672 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.46, allocations: 1.859 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.46, allocations: 1.031 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.46, allocations: 0 / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4602, allocations: 156.5 kB / 0.5909 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.4603, allocations: 100.3 kB / 0.591 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.4603, allocations: 6.172 kB / 0.591 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.4604, allocations: 5.391 kB / 0.591 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4604, allocations: 9.609 kB / 0.5911 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4604, allocations: 7.109 kB / 0.5911 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4607, allocations: 199.1 kB / 0.5913 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4607, allocations: 0 / 0.5913 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.4609, allocations: 28.19 kB / 0.5913 GB, free: 14.85 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.0009192/0.4618, allocations: 422.4 kB / 0.5917 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4621, allocations: 79.09 kB / 0.5918 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4621, allocations: 0 / 0.5918 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.4622, allocations: 37.61 kB / 0.5918 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.4625, allocations: 37.11 kB / 0.5918 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.463, allocations: 360 kB / 0.5922 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4634, allocations: 0.7259 MB / 0.5929 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.4634, allocations: 19.19 kB / 0.5929 GB, free: 13.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4634, allocations: 0 / 0.5929 GB, free: 13.67 MB / 446.1 MB Notification: Performance of Templates: time 0.005752/0.4692, allocations: 2.518 MB / 0.5954 GB, free: 13.4 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicatorCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1