Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 91.97 kB / 16.95 MB, free: 5.676 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.001309/0.00131, allocations: 179.8 kB / 17.84 MB, free: 5.324 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.538/1.538, allocations: 223.2 MB / 241.8 MB, free: 272 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002405, allocations: 4.5 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 50.43 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001969/0.1146, allocations: 1.344 MB / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1164, allocations: 1.132 MB / 354.3 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1164, allocations: 0 / 354.3 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.1168, allocations: 27.84 kB / 354.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.1169, allocations: 35.83 kB / 354.4 MB, free: 1.469 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.0005439/0.1174, allocations: 223.5 kB / 354.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1176, allocations: 163.5 kB / 354.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1177, allocations: 13.12 kB / 354.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1179, allocations: 75.73 kB / 354.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1181, allocations: 99.64 kB / 355 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1182, allocations: 4 kB / 355 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1186, allocations: 283.5 kB / 355.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.1187, allocations: 47.88 kB / 355.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.1187, allocations: 49.58 kB / 355.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.119, allocations: 227.8 kB / 355.6 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.119, allocations: 0 / 355.6 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.119, allocations: 0 / 355.6 MB, free: 308 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.119, allocations: 0 / 355.6 MB, free: 308 kB / 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.001066/0.1201, allocations: 0.5297 MB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1201, allocations: 12.03 kB / 356.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1203, allocations: 31.75 kB / 356.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1208, allocations: 275.5 kB / 356.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1208, allocations: 4 kB / 356.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1208, allocations: 11.91 kB / 356.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.121, allocations: 109.1 kB / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1211, allocations: 0 / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1211, allocations: 0 / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1211, allocations: 0 / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1213, allocations: 91.89 kB / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.122, allocations: 444.6 kB / 357.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1223, allocations: 126.5 kB / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1224, allocations: 56.83 kB / 357.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1224, allocations: 7.938 kB / 357.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.1226, allocations: 131.2 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1226, allocations: 0 / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004426/0.1231, allocations: 229.4 kB / 357.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1232, allocations: 63.39 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1235, allocations: 244.8 kB / 357.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1236, allocations: 41.64 kB / 357.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.1236, allocations: 112.2 kB / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.1237, allocations: 47.39 kB / 358.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.1237, allocations: 7.938 kB / 358.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1238, allocations: 334.8 kB / 358.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.124, allocations: 79.95 kB / 358.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1242, allocations: 109.8 kB / 358.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1243, allocations: 96.14 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1243, allocations: 0 / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003859/0.1247, allocations: 250.5 kB / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1248, allocations: 4 kB / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1248, allocations: 11.97 kB / 359 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1248, allocations: 7.984 kB / 359 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.125, allocations: 31.98 kB / 359 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.125, allocations: 0 / 359 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1252, allocations: 27.88 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1252, allocations: 8 kB / 359 MB, free: 12.6 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.000128/0.1253, allocations: 149.6 kB / 359.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1253, allocations: 15.81 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.1254, allocations: 25.52 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1254, allocations: 3.953 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1254, allocations: 4 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1254, allocations: 0 / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1256, allocations: 233.5 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1257, allocations: 4 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1258, allocations: 12 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.1258, allocations: 3.984 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1258, allocations: 11.94 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1258, allocations: 4 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1258, allocations: 7.891 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.1263, allocations: 280.1 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.1264, allocations: 108.9 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1264, allocations: 8.25 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1266, allocations: 23.97 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1266, allocations: 15.88 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1266, allocations: 4 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.1269, allocations: 188.4 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1269, allocations: 0 / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1273, allocations: 91.92 kB / 360.2 MB, free: 11.34 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.0005689/0.1278, allocations: 253 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.1282, allocations: 176.2 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1282, allocations: 0 / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1283, allocations: 67.91 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1286, allocations: 15.98 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.1292, allocations: 430.2 kB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1295, allocations: 0.7244 MB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.1296, allocations: 19.42 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1296, allocations: 4 kB / 361.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Templates: time 0.005832/0.1354, allocations: 3.467 MB / 365.3 MB, free: 6.164 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulenceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1