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.0009669/0.0009672, allocations: 92.55 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.001336/0.001337, allocations: 174.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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2141/0.2141, allocations: 3.891 MB / 296 MB, free: 3.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 11.94 kB / 357.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 51.17 MB / 409.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002132/0.1259, allocations: 1.272 MB / 410.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1284, allocations: 1.165 MB / 411.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1286, allocations: 3.938 kB / 411.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1288, allocations: 27.8 kB / 411.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1289, allocations: 15.81 kB / 411.5 MB, free: 13.54 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.0008833/0.1298, allocations: 199.6 kB / 411.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.1302, allocations: 219.5 kB / 412 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.1302, allocations: 13.55 kB / 412 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.1305, allocations: 99.59 kB / 412.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1306, allocations: 67.62 kB / 412.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1307, allocations: 8 kB / 412.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1311, allocations: 159.8 kB / 412.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1312, allocations: 31.8 kB / 412.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1313, allocations: 109.3 kB / 412.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.1317, allocations: 199.6 kB / 412.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1317, allocations: 0 / 412.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1317, allocations: 0 / 412.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1318, allocations: 4 kB / 412.6 MB, free: 12.44 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.002631/0.1344, allocations: 2.197 MB / 414.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1345, allocations: 12.03 kB / 414.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.1352, allocations: 108.6 kB / 414.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1355, allocations: 263.6 kB / 415.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1356, allocations: 8.375 kB / 415.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1356, allocations: 8.375 kB / 415.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1361, allocations: 265.9 kB / 415.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1361, allocations: 0 / 415.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1361, allocations: 8 kB / 415.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1361, allocations: 0 / 415.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.1365, allocations: 231.8 kB / 415.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.1368, allocations: 258.3 kB / 416 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.1372, allocations: 329.3 kB / 416.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.1376, allocations: 309.6 kB / 416.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.1376, allocations: 0 / 416.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.1382, allocations: 0.5213 MB / 417.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 9.62e-07/0.1382, allocations: 0 / 417.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00122/0.1395, allocations: 0.7824 MB / 417.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1396, allocations: 156.5 kB / 418 MB, free: 6.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1398, allocations: 207.1 kB / 418.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1398, allocations: 33.7 kB / 418.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.1399, allocations: 124.6 kB / 418.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.14, allocations: 47.33 kB / 418.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.1401, allocations: 33.7 kB / 418.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1402, allocations: 330.8 kB / 418.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1404, allocations: 140.2 kB / 418.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1407, allocations: 144.4 kB / 419.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1413, allocations: 480.6 kB / 419.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1413, allocations: 0 / 419.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006445/0.1419, allocations: 474.9 kB / 420 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.142, allocations: 91.38 kB / 420.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.142, allocations: 0 / 420.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1421, allocations: 0 / 420.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1422, allocations: 27.97 kB / 420.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1422, allocations: 0 / 420.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1423, allocations: 15.91 kB / 420.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.1424, allocations: 39.94 kB / 420.2 MB, free: 4.496 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.0002547/0.1427, allocations: 259.7 kB / 420.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.1427, allocations: 27.72 kB / 420.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1428, allocations: 17.39 kB / 420.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1428, allocations: 3.984 kB / 420.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1428, allocations: 0 / 420.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1428, allocations: 7.938 kB / 420.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.143, allocations: 269.4 kB / 420.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1431, allocations: 4 kB / 420.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.1431, allocations: 11.98 kB / 420.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1431, allocations: 0 / 420.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1432, allocations: 15.98 kB / 420.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1432, allocations: 3.938 kB / 420.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.1432, allocations: 4.172 kB / 420.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.1441, allocations: 0.7039 MB / 421.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1443, allocations: 136.8 kB / 421.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.1444, allocations: 23.92 kB / 421.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1445, allocations: 19.98 kB / 421.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.1446, allocations: 23.92 kB / 421.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.1446, allocations: 39.94 kB / 421.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1448, allocations: 143.2 kB / 421.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1448, allocations: 0 / 421.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.1451, allocations: 79.98 kB / 422 MB, free: 2.59 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.0005573/0.1457, allocations: 254.1 kB / 422.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.1467, allocations: 0.7602 MB / 423 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1467, allocations: 4 kB / 423 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.1474, allocations: 0.651 MB / 423.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1477, allocations: 37.12 kB / 423.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.1486, allocations: 0.5889 MB / 424.2 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2176/0.3662, allocations: 0.7209 MB / 425 MB, free: 47.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.3664, allocations: 17.45 kB / 425 MB, free: 47.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3664, allocations: 0 / 425 MB, free: 47.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006889/0.3733, allocations: 3.627 MB / 428.6 MB, free: 47.3 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