Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.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/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.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(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009641, 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.00133/0.00133, allocations: 171.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.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1804/0.1804, allocations: 3.881 MB / 296 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003887, allocations: 8 kB / 357.9 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 51.18 MB / 409.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.00115/0.124, allocations: 0.5183 MB / 409.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.1248, allocations: 374.8 kB / 409.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1249, allocations: 4 kB / 410 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.894e-05/0.125, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.125, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.1254, allocations: 83.84 kB / 410 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.1255, allocations: 55.84 kB / 410.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.1256, allocations: 8.172 kB / 410.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.1256, allocations: 27.84 kB / 410.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1257, allocations: 19.92 kB / 410.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1257, allocations: 0 / 410.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1259, allocations: 95.78 kB / 410.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1259, allocations: 0 / 410.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.126, allocations: 61.48 kB / 410.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1262, allocations: 83.86 kB / 410.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1262, allocations: 0 / 410.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1262, allocations: 0 / 410.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1262, allocations: 0 / 410.4 MB, free: 14.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004711/0.1267, allocations: 367.6 kB / 410.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1267, allocations: 12.03 kB / 410.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.1268, allocations: 8.922 kB / 410.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.127, allocations: 188.1 kB / 410.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.127, allocations: 8.375 kB / 411 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.127, allocations: 8.375 kB / 411 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1272, allocations: 82.16 kB / 411 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1273, allocations: 3.938 kB / 411.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1273, allocations: 3.938 kB / 411.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1273, allocations: 0 / 411.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1274, allocations: 35.97 kB / 411.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.128, allocations: 336.6 kB / 411.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1282, allocations: 50.5 kB / 411.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1283, allocations: 20.91 kB / 411.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1283, allocations: 0 / 411.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1285, allocations: 67.39 kB / 411.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1285, allocations: 0 / 411.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002785/0.1288, allocations: 109.5 kB / 411.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1288, allocations: 51.41 kB / 411.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.129, allocations: 140.7 kB / 411.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.129, allocations: 29.7 kB / 411.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1291, allocations: 100 kB / 412 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1291, allocations: 15.72 kB / 412 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1291, allocations: 25.7 kB / 412 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1293, allocations: 314.8 kB / 412.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.1293, allocations: 23.98 kB / 412.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.1294, allocations: 73.98 kB / 412.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.1299, allocations: 117.9 kB / 412.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1299, allocations: 0 / 412.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002317/0.1302, allocations: 125.4 kB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1302, allocations: 8 kB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1302, allocations: 3.938 kB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1302, allocations: 4.156 kB / 412.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.1303, allocations: 23.92 kB / 412.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1303, allocations: 4 kB / 412.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.1304, allocations: 19.78 kB / 412.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1304, allocations: 8 kB / 412.7 MB, free: 12.04 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: faultTrigger.F:VARIABLE(min = 0.0 max = 1.0 fixed = true ) "The current probability to have failed already" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.faultTrigger.y,$whenCondition1,countFaults.y,$PRE.countFaults.y,globalSeed.id_impure,globalSeed.seed,faultTrigger.r,faultTrigger.y,$whenCondition2,one.y,faultTrigger.reset,countFaults.local_set,countFaults.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001373/0.1306, allocations: 126.1 kB / 412.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.1306, allocations: 4 kB / 412.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.1306, allocations: 20.42 kB / 412.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1306, allocations: 3.984 kB / 412.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1306, allocations: 0 / 412.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1307, allocations: 3.938 kB / 412.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1311, allocations: 354.5 kB / 413.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1311, allocations: 0 / 413.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.1312, allocations: 11.92 kB / 413.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1312, allocations: 4 kB / 413.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1312, allocations: 3.938 kB / 413.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1312, allocations: 4 kB / 413.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1312, allocations: 0 / 413.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1315, allocations: 199.4 kB / 413.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1316, allocations: 81.05 kB / 413.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1316, allocations: 3.938 kB / 413.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.1317, allocations: 4.031 kB / 413.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.1317, allocations: 11.98 kB / 413.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1317, allocations: 64 / 413.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.867e-05/0.1318, allocations: 103.3 kB / 413.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 0 / 413.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1321, allocations: 40.02 kB / 413.7 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (faultTrigger.F) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,faultTrigger.y,faultTrigger.r,countFaults.y) * Number of discrete states: 2 (faultTrigger.y,countFaults.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * 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.0003845/0.1325, allocations: 191.6 kB / 413.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1327, allocations: 63.91 kB / 413.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1327, allocations: 0 / 413.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.1328, allocations: 24.23 kB / 414 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.133, allocations: 14.33 kB / 414 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.1336, allocations: 231.7 kB / 414.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.134, allocations: 0.6887 MB / 414.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.134, allocations: 11.44 kB / 414.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.134, allocations: 0 / 414.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003234/0.1373, allocations: 1.659 MB / 416.6 MB, free: 8.066 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.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 OMCppAdvancedNoise_AdvancedNoise.Examples.FaultTriggerCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.FaultTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.FaultTriggerCalcHelperMain.o] Error 1