Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008286, allocations: 92.56 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 8 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002185/0.1402, allocations: 1.358 MB / 360.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1423, allocations: 1.182 MB / 361.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1424, allocations: 0 / 361.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1427, allocations: 27.84 kB / 361.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1428, allocations: 35.77 kB / 361.4 MB, free: 11.54 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.000607/0.1434, allocations: 227.5 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1437, allocations: 155.6 kB / 361.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1438, allocations: 17.06 kB / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.144, allocations: 87.67 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1443, allocations: 91.69 kB / 362 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.1444, allocations: 12 kB / 362 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.1449, allocations: 287.4 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.145, allocations: 51.86 kB / 362.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.1451, allocations: 41.64 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1455, allocations: 235.8 kB / 362.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1455, allocations: 0 / 362.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1455, allocations: 0 / 362.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1455, allocations: 0 / 362.6 MB, free: 10.35 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00122/0.1467, allocations: 0.5335 MB / 363.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1468, allocations: 16.03 kB / 363.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.147, allocations: 23.8 kB / 363.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.1475, allocations: 267.7 kB / 363.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1475, allocations: 4 kB / 363.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.1475, allocations: 15.86 kB / 363.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1478, allocations: 105.6 kB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1478, allocations: 3.938 kB / 363.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1478, allocations: 4 kB / 363.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1478, allocations: 3.938 kB / 363.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.148, allocations: 83.94 kB / 363.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.149, allocations: 444.6 kB / 364.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1492, allocations: 126.5 kB / 364.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1494, allocations: 60.83 kB / 364.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1494, allocations: 4 kB / 364.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.1497, allocations: 123.2 kB / 364.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.1497, allocations: 0 / 364.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005604/0.1503, allocations: 233.6 kB / 364.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.1504, allocations: 67.39 kB / 364.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.1508, allocations: 243.8 kB / 364.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.1509, allocations: 37.7 kB / 364.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.151, allocations: 116.2 kB / 365 MB, free: 7.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.151, allocations: 47.39 kB / 365.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.1511, allocations: 4 kB / 365.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1513, allocations: 338.8 kB / 365.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1514, allocations: 83.95 kB / 365.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1516, allocations: 106.9 kB / 365.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1518, allocations: 97.02 kB / 365.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1518, allocations: 0 / 365.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005006/0.1523, allocations: 265.7 kB / 366 MB, free: 6.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1524, allocations: 7.984 kB / 366 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1524, allocations: 3.938 kB / 366 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.1524, allocations: 4 kB / 366 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.1526, allocations: 31.92 kB / 366 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1526, allocations: 0 / 366 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1528, allocations: 27.88 kB / 366 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1528, allocations: 8.125 kB / 366 MB, free: 6.645 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: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,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 (23): * Single equations (assignments): 22 * Array equations: 1 * 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.0001616/0.153, allocations: 157.6 kB / 366.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1531, allocations: 15.81 kB / 366.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.1531, allocations: 21.52 kB / 366.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1531, allocations: 0 / 366.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1531, allocations: 0 / 366.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1531, allocations: 4 kB / 366.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1535, allocations: 241.4 kB / 366.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1535, allocations: 4 kB / 366.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1536, allocations: 23.98 kB / 366.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1536, allocations: 0 / 366.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1537, allocations: 0 / 366.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1537, allocations: 4 kB / 366.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1537, allocations: 4 kB / 366.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.1542, allocations: 280.8 kB / 366.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1543, allocations: 112.8 kB / 366.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1543, allocations: 8 kB / 366.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1545, allocations: 19.97 kB / 366.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1546, allocations: 7.984 kB / 366.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1546, allocations: 4 kB / 366.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.1549, allocations: 188.2 kB / 367.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1549, allocations: 0 / 367.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1554, allocations: 83.97 kB / 367.2 MB, free: 5.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008023/0.1562, allocations: 260.7 kB / 367.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1566, allocations: 168.2 kB / 367.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1566, allocations: 0 / 367.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1567, allocations: 79.89 kB / 367.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.157, allocations: 15.38 kB / 367.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.1578, allocations: 432.2 kB / 368.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1581, allocations: 0.7244 MB / 368.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.1582, allocations: 15.44 kB / 368.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1582, allocations: 4 kB / 368.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of Templates: time 0.007011/0.1652, allocations: 3.489 MB / 372.4 MB, free: 192 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulenceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1