Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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) 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(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008313, allocations: 90.11 kB / 16.95 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 186.3 kB / 17.85 MB, free: 5.32 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.464/1.464, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 8 kB / 301.5 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 50.42 MB / 351.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001899/0.1237, allocations: 1.202 MB / 353.1 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1249, allocations: 0.5623 MB / 353.6 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1249, allocations: 0 / 353.6 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.125, allocations: 3.938 kB / 353.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.1251, allocations: 15.84 kB / 353.7 MB, free: 1.969 MB / 286.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.0005385/0.1257, allocations: 115.7 kB / 353.8 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1258, allocations: 103.7 kB / 353.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.1259, allocations: 9.125 kB / 353.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.126, allocations: 43.77 kB / 353.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1262, allocations: 59.81 kB / 354 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1262, allocations: 11.94 kB / 354 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1264, allocations: 91.91 kB / 354.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1265, allocations: 31.89 kB / 354.1 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1266, allocations: 45.58 kB / 354.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1268, allocations: 132 kB / 354.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1268, allocations: 0 / 354.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1268, allocations: 0 / 354.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1268, allocations: 0 / 354.3 MB, free: 1.328 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007395/0.1276, allocations: 442.7 kB / 354.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1276, allocations: 8.031 kB / 354.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.1279, allocations: 35.88 kB / 354.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1281, allocations: 202.8 kB / 355 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1281, allocations: 4 kB / 355 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1282, allocations: 8 kB / 355 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1284, allocations: 127.3 kB / 355.1 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1284, allocations: 4 kB / 355.1 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1285, allocations: 4 kB / 355.1 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1285, allocations: 3.953 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1287, allocations: 63.95 kB / 355.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.1294, allocations: 369.5 kB / 355.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1297, allocations: 141.3 kB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1298, allocations: 61.75 kB / 355.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1298, allocations: 4 kB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.1301, allocations: 148.9 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1302, allocations: 4 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005305/0.1307, allocations: 249.3 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.1308, allocations: 97.08 kB / 356.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.131, allocations: 174.3 kB / 356.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1311, allocations: 49.69 kB / 356.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1312, allocations: 104.6 kB / 356.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.1312, allocations: 43.39 kB / 356.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.1313, allocations: 8 kB / 356.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.1315, allocations: 330.8 kB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1317, allocations: 92.47 kB / 357 MB, free: 14.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1319, allocations: 137.3 kB / 357.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1321, allocations: 124.3 kB / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1321, allocations: 0 / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004882/0.1326, allocations: 305.3 kB / 357.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1326, allocations: 7.953 kB / 357.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1326, allocations: 0 / 357.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1326, allocations: 4 kB / 357.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.1328, allocations: 23.98 kB / 357.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.1328, allocations: 7.938 kB / 357.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.1329, allocations: 19.97 kB / 357.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1329, allocations: 11.98 kB / 357.6 MB, free: 13.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001618/0.1331, allocations: 141.8 kB / 357.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1331, allocations: 15.91 kB / 357.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.1332, allocations: 21.34 kB / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1332, allocations: 0 / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1332, allocations: 4 kB / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1332, allocations: 0 / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1334, allocations: 217.4 kB / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1334, allocations: 0 / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.1335, allocations: 8 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1335, allocations: 0 / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1335, allocations: 4 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1335, allocations: 7.938 kB / 358 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1335, allocations: 0 / 358 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1339, allocations: 221.7 kB / 358.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.134, allocations: 92.91 kB / 358.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.134, allocations: 12 kB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.1341, allocations: 11.98 kB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.1341, allocations: 19.88 kB / 358.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1342, allocations: 4 kB / 358.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.1343, allocations: 123.2 kB / 358.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1343, allocations: 0 / 358.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1346, allocations: 51.97 kB / 358.6 MB, free: 12.67 MB / 302.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: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004806/0.1351, allocations: 197.7 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1355, allocations: 187.9 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1355, allocations: 4 kB / 358.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1357, allocations: 67.91 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1358, allocations: 8 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1364, allocations: 304.8 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1367, allocations: 0.7083 MB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1368, allocations: 15.44 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1368, allocations: 3.938 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Templates: time 0.004279/0.1411, allocations: 2.29 MB / 362.3 MB, free: 8.863 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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 OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.o] Error 1