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.000908/0.0009082, allocations: 99.44 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.001044/0.001044, allocations: 178.5 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.45/1.45, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 9.594 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4884, allocations: 81.58 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002024/0.4905, allocations: 1.466 MB / 0.5851 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4919, allocations: 0.9392 MB / 0.586 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.492, allocations: 4.875 kB / 0.586 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.4926, allocations: 152.4 kB / 0.5862 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.4928, allocations: 101.2 kB / 0.5863 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.4932, allocations: 138.2 kB / 0.5864 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4935, allocations: 144.6 kB / 0.5865 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4936, allocations: 29.69 kB / 0.5866 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4937, allocations: 57.44 kB / 0.5866 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4938, allocations: 67.7 kB / 0.5867 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4939, allocations: 2.469 kB / 0.5867 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.494, allocations: 41.06 kB / 0.5867 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.4941, allocations: 44.83 kB / 0.5868 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.4941, allocations: 44.42 kB / 0.5868 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4944, allocations: 150.1 kB / 0.587 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4944, allocations: 0.75 kB / 0.587 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4944, allocations: 0 / 0.587 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4944, allocations: 4 kB / 0.587 GB, free: 1.898 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.0005879/0.495, allocations: 478.9 kB / 0.5874 GB, free: 1.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4951, allocations: 8.719 kB / 0.5874 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.4951, allocations: 15.88 kB / 0.5874 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.4954, allocations: 236.7 kB / 0.5877 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4954, allocations: 2.281 kB / 0.5877 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4954, allocations: 3.969 kB / 0.5877 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4956, allocations: 95.08 kB / 0.5878 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4956, allocations: 0 / 0.5878 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4956, allocations: 1.094 kB / 0.5878 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.4957, allocations: 7.359 kB / 0.5878 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.4958, allocations: 32.94 kB / 0.5878 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.4963, allocations: 358 kB / 0.5881 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4965, allocations: 77.69 kB / 0.5882 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.4966, allocations: 32.02 kB / 0.5882 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.4966, allocations: 2.469 kB / 0.5883 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.4968, allocations: 86.73 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.4968, allocations: 4.812 kB / 0.5883 GB, free: 0.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003398/0.4971, allocations: 140.1 kB / 0.5885 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4972, allocations: 83.75 kB / 0.5886 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.4975, allocations: 268 kB / 0.5888 GB, free: 352 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4975, allocations: 26.89 kB / 0.5888 GB, free: 320 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.4976, allocations: 117.2 kB / 0.5889 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4976, allocations: 21.19 kB / 0.589 GB, free: 196 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4976, allocations: 0 / 0.589 GB, free: 196 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4977, allocations: 334.1 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.4978, allocations: 25.81 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.4979, allocations: 58.98 kB / 0.5894 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.498, allocations: 28.33 kB / 0.5894 GB, free: 15.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.498, allocations: 0 / 0.5894 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002207/0.4982, allocations: 122 kB / 0.5895 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4982, allocations: 8.297 kB / 0.5895 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4982, allocations: 0.625 kB / 0.5895 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4983, allocations: 1 kB / 0.5895 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.4984, allocations: 19.72 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4984, allocations: 0.7031 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.4984, allocations: 14.5 kB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4985, allocations: 6.344 kB / 0.5896 GB, free: 15.72 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001581/0.4986, allocations: 141.4 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.4987, allocations: 19.8 kB / 0.5897 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.4987, allocations: 22.84 kB / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4987, allocations: 7.609 kB / 0.5897 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4988, allocations: 3.953 kB / 0.5897 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4988, allocations: 1.031 kB / 0.5897 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.499, allocations: 214.3 kB / 0.5899 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.499, allocations: 1.031 kB / 0.5899 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.499, allocations: 4.047 kB / 0.59 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.499, allocations: 4.766 kB / 0.59 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4991, allocations: 9.75 kB / 0.59 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4991, allocations: 4.656 kB / 0.59 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4991, allocations: 4.562 kB / 0.59 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4993, allocations: 141 kB / 0.5901 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.4994, allocations: 99.69 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4995, allocations: 2.969 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.4995, allocations: 3.891 kB / 0.5902 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4996, allocations: 9.797 kB / 0.5902 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4996, allocations: 3.891 kB / 0.5902 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.4998, allocations: 196.1 kB / 0.5904 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.4998, allocations: 0 / 0.5904 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.5001, allocations: 44.02 kB / 0.5905 GB, free: 14.99 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 (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.001001/0.5011, allocations: 417.1 kB / 0.5909 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.5013, allocations: 72.78 kB / 0.5909 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5013, allocations: 3.938 kB / 0.5909 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.5014, allocations: 37.66 kB / 0.591 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5017, allocations: 31.55 kB / 0.591 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.5023, allocations: 355.7 kB / 0.5913 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.5026, allocations: 0.7263 MB / 0.592 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.5027, allocations: 18.81 kB / 0.5921 GB, free: 13.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5027, allocations: 4 kB / 0.5921 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Templates: time 0.00553/0.5082, allocations: 2.526 MB / 0.5945 GB, free: 13.55 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++ 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.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