Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001012, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.001064/0.001064, allocations: 179.2 kB / 17.84 MB, free: 6 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.544/1.544, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002633, allocations: 7.984 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001607/0.1087, allocations: 1.249 MB / 353.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1109, allocations: 1.342 MB / 354.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.1109, allocations: 4 kB / 354.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.111, allocations: 7.875 kB / 354.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.472e-05/0.1111, allocations: 19.84 kB / 354.5 MB, free: 1.383 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.0008367/0.112, allocations: 311.2 kB / 354.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1121, allocations: 111.6 kB / 354.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.1122, allocations: 9.484 kB / 354.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.1123, allocations: 51.77 kB / 355 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1124, allocations: 67.75 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1125, allocations: 4 kB / 355 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006243/0.1131, allocations: 439.2 kB / 355.5 MB, free: 412 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.1131, allocations: 39.77 kB / 355.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.1132, allocations: 41.64 kB / 355.5 MB, free: 324 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1136, allocations: 275.7 kB / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1136, allocations: 0 / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1136, allocations: 0 / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1136, allocations: 0 / 355.8 MB, free: 48 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007445/0.1143, allocations: 0.4908 MB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1144, allocations: 8.031 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.1146, allocations: 31.8 kB / 356.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1148, allocations: 200.4 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1148, allocations: 4 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1149, allocations: 15.98 kB / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1151, allocations: 124.2 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1151, allocations: 3.938 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1152, allocations: 7.938 kB / 356.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1152, allocations: 3.984 kB / 356.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.1154, allocations: 67.95 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.1161, allocations: 0.5554 MB / 357.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.1165, allocations: 175.7 kB / 357.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1166, allocations: 62.62 kB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1167, allocations: 11.95 kB / 357.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.117, allocations: 160.2 kB / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.117, allocations: 0 / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005682/0.1176, allocations: 269.5 kB / 358 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.1176, allocations: 118.8 kB / 358.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1178, allocations: 195 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1179, allocations: 49.69 kB / 358.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.118, allocations: 104.6 kB / 358.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.118, allocations: 51.56 kB / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.118, allocations: 4 kB / 358.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1182, allocations: 334.8 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.1184, allocations: 99.81 kB / 358.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1186, allocations: 147.2 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1188, allocations: 116.5 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1188, allocations: 0 / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004982/0.1194, allocations: 309.2 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1194, allocations: 8 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1194, allocations: 0 / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1194, allocations: 7.938 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.1196, allocations: 35.98 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1196, allocations: 4.453 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.1197, allocations: 31.78 kB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1197, allocations: 11.94 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.0001313/0.1198, allocations: 145.8 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1199, allocations: 19.77 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1199, allocations: 17.39 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1199, allocations: 4 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1199, allocations: 0 / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.12, allocations: 8.078 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1202, allocations: 213.6 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1202, allocations: 0 / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.1202, allocations: 19.92 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1202, allocations: 0 / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1203, allocations: 7.953 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1203, allocations: 0 / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1203, allocations: 0 / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1207, allocations: 254.4 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1207, allocations: 92.86 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1208, allocations: 12 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.1208, allocations: 19.94 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1209, allocations: 11.97 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1209, allocations: 8 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.121, allocations: 133.2 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.121, allocations: 0 / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.1215, allocations: 120 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0007322/0.1222, allocations: 329.6 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.1227, allocations: 203.8 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1227, allocations: 0 / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1228, allocations: 72.16 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.123, allocations: 12.19 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1236, allocations: 333.7 kB / 361.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1239, allocations: 0.7162 MB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1239, allocations: 15.44 kB / 362.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.124, allocations: 0 / 362.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of Templates: time 0.006263/0.1302, allocations: 3.829 MB / 366.1 MB, free: 5.297 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.DistributionsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o] Error 1