Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008577, allocations: 91.52 kB / 17.58 MB, free: 5.793 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.000965/0.0009649, allocations: 184.9 kB / 18.48 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005417/0.0005418, allocations: 12 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00219/0.1154, allocations: 1.25 MB / 330.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.1181, allocations: 1.365 MB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1183, allocations: 0 / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1184, allocations: 7.922 kB / 331.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1185, allocations: 23.8 kB / 331.6 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1197, allocations: 319.2 kB / 331.9 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1199, allocations: 115.6 kB / 332.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.12, allocations: 17.47 kB / 332.1 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.1201, allocations: 47.77 kB / 332.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.1202, allocations: 63.75 kB / 332.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1202, allocations: 4 kB / 332.2 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.1211, allocations: 451.1 kB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.1212, allocations: 35.84 kB / 332.7 MB, free: 364 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.1213, allocations: 41.64 kB / 332.7 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.1219, allocations: 283.7 kB / 333 MB, free: 32 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1219, allocations: 0 / 333 MB, free: 32 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1219, allocations: 0 / 333 MB, free: 32 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1219, allocations: 0 / 333 MB, free: 32 kB / 270.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.000949/0.1229, allocations: 0.4908 MB / 333.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.123, allocations: 8.031 kB / 333.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.1232, allocations: 31.8 kB / 333.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1234, allocations: 215.5 kB / 333.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1235, allocations: 4 kB / 333.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1235, allocations: 8 kB / 333.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.1238, allocations: 128.2 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1238, allocations: 0 / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1238, allocations: 4 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1238, allocations: 4 kB / 333.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.1241, allocations: 75.89 kB / 333.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1249, allocations: 0.5632 MB / 334.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1253, allocations: 163.7 kB / 334.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1256, allocations: 66.61 kB / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1256, allocations: 0 / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.1259, allocations: 157.8 kB / 334.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1259, allocations: 0 / 334.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006016/0.1265, allocations: 261.5 kB / 335.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1266, allocations: 118.8 kB / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1268, allocations: 194.8 kB / 335.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.1269, allocations: 49.69 kB / 335.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1269, allocations: 112.7 kB / 335.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.127, allocations: 51.38 kB / 335.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.127, allocations: 4 kB / 335.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1272, allocations: 334.7 kB / 336 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.1274, allocations: 107.9 kB / 336.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1277, allocations: 147.2 kB / 336.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1279, allocations: 112 kB / 336.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1279, allocations: 0 / 336.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005061/0.1284, allocations: 317.4 kB / 336.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1284, allocations: 4 kB / 336.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1285, allocations: 4 kB / 336.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1285, allocations: 3.984 kB / 336.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1286, allocations: 32.02 kB / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1287, allocations: 8 kB / 336.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.1288, allocations: 31.67 kB / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1288, allocations: 8 kB / 336.7 MB, free: 11.97 MB / 286.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.0001488/0.129, allocations: 149.7 kB / 336.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.129, allocations: 15.81 kB / 336.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.129, allocations: 17.39 kB / 336.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.129, allocations: 4 kB / 336.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.129, allocations: 0 / 336.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1291, allocations: 4 kB / 336.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1293, allocations: 217.5 kB / 337.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1293, allocations: 0 / 337.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1294, allocations: 19.92 kB / 337.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1294, allocations: 0 / 337.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1294, allocations: 0 / 337.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1294, allocations: 4.469 kB / 337.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1294, allocations: 0 / 337.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1298, allocations: 257.6 kB / 337.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.1299, allocations: 96.86 kB / 337.5 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1299, allocations: 12 kB / 337.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.13, allocations: 11.92 kB / 337.5 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.1301, allocations: 15.97 kB / 337.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1301, allocations: 12 kB / 337.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1302, allocations: 133.2 kB / 337.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1302, allocations: 0 / 337.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.1307, allocations: 124 kB / 337.8 MB, free: 10.8 MB / 286.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.0007638/0.1315, allocations: 363.8 kB / 338.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1319, allocations: 203.8 kB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1319, allocations: 4.188 kB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1321, allocations: 76.03 kB / 338.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1323, allocations: 12.14 kB / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1328, allocations: 336.8 kB / 338.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1331, allocations: 0.7201 MB / 339.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.1332, allocations: 23.42 kB / 339.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1332, allocations: 0 / 339.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of Templates: time 0.006616/0.1398, allocations: 3.951 MB / 343.5 MB, free: 5.07 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o] Error 1