Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, 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.00101/0.00101, 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1581/0.1581, allocations: 3.896 MB / 294.5 MB, free: 3.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 51.92 kB / 355.4 MB, free: 4.074 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1004, allocations: 50.2 MB / 405.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.00277/0.1032, allocations: 1.595 MB / 407.2 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1053, allocations: 1.196 MB / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.1055, allocations: 4 kB / 408.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1057, allocations: 19.8 kB / 408.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.754e-05/0.1058, allocations: 23.84 kB / 408.4 MB, free: 14.97 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.0007005/0.1065, allocations: 199.5 kB / 408.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1068, allocations: 227.5 kB / 408.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.1068, allocations: 17.53 kB / 408.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.107, allocations: 91.61 kB / 409 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1071, allocations: 79.59 kB / 409 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1072, allocations: 8 kB / 409.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.1075, allocations: 159.8 kB / 409.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.1076, allocations: 23.86 kB / 409.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1077, allocations: 79.53 kB / 409.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.108, allocations: 195.7 kB / 409.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.108, allocations: 7.938 kB / 409.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.108, allocations: 3.938 kB / 409.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.108, allocations: 0 / 409.5 MB, free: 13.9 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002265/0.1103, allocations: 2.231 MB / 411.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1103, allocations: 8.031 kB / 411.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.111, allocations: 108.5 kB / 411.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1113, allocations: 259.7 kB / 412.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1114, allocations: 12.38 kB / 412.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1114, allocations: 8.375 kB / 412.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1118, allocations: 258 kB / 412.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1118, allocations: 4 kB / 412.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1118, allocations: 7.938 kB / 412.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1119, allocations: 0 / 412.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.1122, allocations: 223.8 kB / 412.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.1125, allocations: 258.2 kB / 412.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.1129, allocations: 321.1 kB / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1132, allocations: 301.6 kB / 413.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.1133, allocations: 4.375 kB / 413.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.1138, allocations: 0.5185 MB / 414 MB, free: 9.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.1138, allocations: 0 / 414 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001153/0.115, allocations: 0.7699 MB / 414.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1151, allocations: 156.5 kB / 414.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1153, allocations: 211 kB / 415.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1153, allocations: 33.7 kB / 415.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.1154, allocations: 112.7 kB / 415.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.1154, allocations: 51.28 kB / 415.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1156, allocations: 53.69 kB / 415.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1157, allocations: 330.8 kB / 415.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1159, allocations: 140.2 kB / 415.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1161, allocations: 136.4 kB / 416 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.1167, allocations: 472.3 kB / 416.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1167, allocations: 0 / 416.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006133/0.1173, allocations: 459.2 kB / 416.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/0.1174, allocations: 95.36 kB / 417 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1174, allocations: 4 kB / 417 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1174, allocations: 0 / 417 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1176, allocations: 27.92 kB / 417 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1176, allocations: 0 / 417 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.1177, allocations: 15.91 kB / 417 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.1178, allocations: 31.94 kB / 417 MB, free: 5.977 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: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002325/0.118, allocations: 259.7 kB / 417.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.1181, allocations: 27.81 kB / 417.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.1181, allocations: 17.39 kB / 417.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1181, allocations: 0 / 417.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1181, allocations: 4 kB / 417.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1181, allocations: 0 / 417.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.1184, allocations: 277.5 kB / 417.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1184, allocations: 3.938 kB / 417.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1184, allocations: 15.92 kB / 417.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1185, allocations: 0 / 417.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1185, allocations: 15.98 kB / 417.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1185, allocations: 4 kB / 417.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1185, allocations: 7.938 kB / 417.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.1194, allocations: 0.6933 MB / 418.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1196, allocations: 128.8 kB / 418.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.1196, allocations: 27.92 kB / 418.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1198, allocations: 19.98 kB / 418.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.1198, allocations: 19.97 kB / 418.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.1199, allocations: 39.94 kB / 418.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.12, allocations: 143.2 kB / 418.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.12, allocations: 0 / 418.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.1204, allocations: 83.98 kB / 418.8 MB, free: 4.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000504/0.1209, allocations: 263.3 kB / 419.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.1218, allocations: 0.7524 MB / 419.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1218, allocations: 0 / 419.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.1225, allocations: 0.6509 MB / 420.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1227, allocations: 34.58 kB / 420.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.1236, allocations: 0.5785 MB / 421.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1239, allocations: 0.7279 MB / 421.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.124, allocations: 11.44 kB / 421.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.124, allocations: 3.938 kB / 421.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Templates: time 0.1657/0.2897, allocations: 3.635 MB / 425.5 MB, free: 49.46 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoiseCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoiseCalcHelperMain.o] Error 1