Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 96.14 kB / 15.87 MB, free: 16 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.001363/0.001363, allocations: 192.9 kB / 16.79 MB, free: 6.812 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.267/1.267, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1291/0.1291, allocations: 3.881 MB / 294.5 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 55.92 kB / 355.4 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 50.19 MB / 405.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002488/0.1085, allocations: 1.54 MB / 407.1 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1102, allocations: 1.071 MB / 408.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1103, allocations: 0 / 408.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1105, allocations: 19.86 kB / 408.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1106, allocations: 7.938 kB / 408.2 MB, free: 15.21 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.0004592/0.1111, allocations: 155.6 kB / 408.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1112, allocations: 111.7 kB / 408.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.1113, allocations: 15.98 kB / 408.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.1114, allocations: 43.78 kB / 408.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.1115, allocations: 39.77 kB / 408.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1115, allocations: 4 kB / 408.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1118, allocations: 163.8 kB / 408.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1118, allocations: 23.91 kB / 408.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.1119, allocations: 31.8 kB / 408.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1121, allocations: 143.7 kB / 409 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1121, allocations: 0 / 409 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1121, allocations: 0 / 409 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1122, allocations: 3.938 kB / 409 MB, free: 14.49 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005888/0.1127, allocations: 423.3 kB / 409.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1128, allocations: 12.03 kB / 409.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.1132, allocations: 56.77 kB / 409.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1135, allocations: 210 kB / 409.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1135, allocations: 8.375 kB / 409.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1135, allocations: 4.125 kB / 409.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1137, allocations: 81.58 kB / 409.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1137, allocations: 7.984 kB / 409.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1137, allocations: 3.938 kB / 409.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1137, allocations: 3.984 kB / 409.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1139, allocations: 59.97 kB / 409.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.1144, allocations: 360.6 kB / 410.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1146, allocations: 74.55 kB / 410.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1147, allocations: 44.83 kB / 410.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1148, allocations: 4 kB / 410.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1148, allocations: 34.5 kB / 410.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1148, allocations: 0 / 410.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.1152, allocations: 157.6 kB / 410.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1153, allocations: 51.41 kB / 410.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1154, allocations: 151.5 kB / 410.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1154, allocations: 25.7 kB / 410.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1155, allocations: 104.1 kB / 410.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1155, allocations: 19.66 kB / 410.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.1156, allocations: 37.59 kB / 410.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1157, allocations: 318.8 kB / 411.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.1158, allocations: 39.97 kB / 411.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.1159, allocations: 35.92 kB / 411.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1161, allocations: 80.83 kB / 411.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1161, allocations: 3.938 kB / 411.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002683/0.1164, allocations: 137.5 kB / 411.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1164, allocations: 6.031 kB / 411.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1164, allocations: 320 / 411.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1164, allocations: 4 kB / 411.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1165, allocations: 19.98 kB / 411.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1166, allocations: 0 / 411.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1166, allocations: 3.938 kB / 411.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.1167, allocations: 43.12 kB / 411.5 MB, free: 11.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000188/0.1169, allocations: 125.7 kB / 411.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1169, allocations: 7.906 kB / 411.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.1174, allocations: 221.1 kB / 411.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.1174, allocations: 8 kB / 411.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1174, allocations: 0 / 411.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1174, allocations: 3.938 kB / 411.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1178, allocations: 221.6 kB / 412.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1178, allocations: 4 kB / 412.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.1178, allocations: 11.94 kB / 412.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1179, allocations: 0 / 412.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1179, allocations: 11.98 kB / 412.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1179, allocations: 0 / 412.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1179, allocations: 0 / 412.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1182, allocations: 267.2 kB / 412.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.1183, allocations: 104.9 kB / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1183, allocations: 4 kB / 412.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1184, allocations: 3.984 kB / 412.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1185, allocations: 15.92 kB / 412.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.1185, allocations: 23.95 kB / 412.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.417e-05/0.1186, allocations: 123.2 kB / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1186, allocations: 0 / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.119, allocations: 48 kB / 412.7 MB, free: 10.41 MB / 350.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: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.0005078/0.1195, allocations: 243 kB / 413 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1198, allocations: 107.9 kB / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1198, allocations: 0 / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.12, allocations: 115.3 kB / 413.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1203, allocations: 16 kB / 413.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.1208, allocations: 313.4 kB / 413.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1212, allocations: 0.7121 MB / 414.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1212, allocations: 23.42 kB / 414.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1212, allocations: 0 / 414.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Templates: time 0.004495/0.1257, allocations: 2.506 MB / 416.7 MB, free: 6.359 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoiseCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.o] Error 1