Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009688/0.0009689, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002557, allocations: 12 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001799/0.1323, allocations: 1.07 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.1331, allocations: 348.6 kB / 360.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.1332, allocations: 0 / 360.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.1332, allocations: 3.938 kB / 360.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.1333, allocations: 0 / 360.2 MB, free: 12.7 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0005482/0.1338, allocations: 79.84 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.1339, allocations: 11.94 kB / 360.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.134, allocations: 4 kB / 360.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.134, allocations: 7.875 kB / 360.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.134, allocations: 7.984 kB / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1341, allocations: 0 / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1343, allocations: 79.86 kB / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.1343, allocations: 3.984 kB / 360.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1343, allocations: 29.7 kB / 360.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1345, allocations: 59.89 kB / 360.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1345, allocations: 4 kB / 360.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1345, allocations: 4 kB / 360.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1345, allocations: 0 / 360.5 MB, free: 12.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004352/0.135, allocations: 339.3 kB / 360.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.135, allocations: 12.03 kB / 360.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1351, allocations: 3.938 kB / 360.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1352, allocations: 163.3 kB / 361 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1353, allocations: 4 kB / 361 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1353, allocations: 3.953 kB / 361 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.1354, allocations: 37.69 kB / 361 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1354, allocations: 0 / 361 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1354, allocations: 0 / 361 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1354, allocations: 0 / 361 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.1355, allocations: 8 kB / 361.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1359, allocations: 244.9 kB / 361.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.1359, allocations: 26.56 kB / 361.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.136, allocations: 12.92 kB / 361.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.136, allocations: 4 kB / 361.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1361, allocations: 55.31 kB / 361.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.1361, allocations: 0 / 361.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002169/0.1364, allocations: 61.61 kB / 361.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1364, allocations: 51.41 kB / 361.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1365, allocations: 105.9 kB / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1366, allocations: 33.64 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.1366, allocations: 88.12 kB / 361.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1367, allocations: 3.906 kB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1367, allocations: 4 kB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1368, allocations: 310.8 kB / 362 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.1368, allocations: 8 kB / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1369, allocations: 21.7 kB / 362.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.1369, allocations: 8 kB / 362.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1369, allocations: 7.953 kB / 362.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.137, allocations: 57.86 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1371, allocations: 4 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1371, allocations: 0 / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1371, allocations: 3.938 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.1372, allocations: 11.98 kB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1372, allocations: 3.984 kB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.1372, allocations: 7.891 kB / 362.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1372, allocations: 7.938 kB / 362.2 MB, free: 10.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 8.984e-05/0.1373, allocations: 117.9 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.1373, allocations: 3.953 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.1374, allocations: 3.906 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1374, allocations: 0 / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1374, allocations: 0 / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1374, allocations: 4 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1377, allocations: 286.6 kB / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1377, allocations: 0 / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.1377, allocations: 8 kB / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1377, allocations: 0 / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1377, allocations: 3.938 kB / 362.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1377, allocations: 0 / 362.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1378, allocations: 0 / 362.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1379, allocations: 147.5 kB / 362.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1379, allocations: 85 kB / 362.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.138, allocations: 3.938 kB / 362.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.138, allocations: 4 kB / 362.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.138, allocations: 4 kB / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1381, allocations: 0 / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.406e-05/0.1381, allocations: 87.64 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1381, allocations: 0 / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1384, allocations: 24 kB / 362.9 MB, free: 9.629 MB / 302.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004419/0.1389, allocations: 187.2 kB / 363.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.139, allocations: 23.92 kB / 363.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.139, allocations: 0 / 363.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.139, allocations: 8 kB / 363.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1392, allocations: 3.953 kB / 363.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1396, allocations: 138.5 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1399, allocations: 0.6809 MB / 364 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.14, allocations: 15.38 kB / 364 MB, free: 8.531 MB / 302.1 MB Notification: Performance of SimCode: time 1.02e-05/0.14, allocations: 0 / 364 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Templates: time 0.003478/0.1435, allocations: 1.151 MB / 365.1 MB, free: 7.379 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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_trunk_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o] Error 1