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.001136/0.001136, allocations: 101.5 kB / 17.8 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.001135/0.001135, allocations: 194 kB / 18.72 MB, free: 4.762 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.874/1.874, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001171/0.001171, allocations: 51.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 46.63 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003248/0.1355, allocations: 1.615 MB / 328.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1384, allocations: 1.516 MB / 330.4 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1385, allocations: 0 / 330.4 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1387, allocations: 7.875 kB / 330.4 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1388, allocations: 23.84 kB / 330.4 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1398, allocations: 315.2 kB / 330.7 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.14, allocations: 119.7 kB / 330.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.1401, allocations: 13.48 kB / 330.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1401, allocations: 51.7 kB / 330.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.1402, allocations: 63.7 kB / 331 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1403, allocations: 4 kB / 331 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.141, allocations: 459 kB / 331.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1411, allocations: 43.78 kB / 331.5 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1412, allocations: 55.64 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.1417, allocations: 287.7 kB / 331.8 MB, free: 316 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.1417, allocations: 4 kB / 331.8 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1417, allocations: 0 / 331.8 MB, free: 312 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1417, allocations: 0 / 331.8 MB, free: 312 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.0009626/0.1427, allocations: 0.5065 MB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1428, allocations: 8.031 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.143, allocations: 36.64 kB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1433, allocations: 204.9 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1433, allocations: 8.375 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1433, allocations: 8.359 kB / 332.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1436, allocations: 132.5 kB / 332.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1436, allocations: 3.984 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1437, allocations: 4 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1437, allocations: 7.984 kB / 332.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.1439, allocations: 63.89 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.1447, allocations: 0.5517 MB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.1451, allocations: 147.7 kB / 333.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.1453, allocations: 70.61 kB / 333.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1453, allocations: 3.938 kB / 333.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.1457, allocations: 149.9 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.1457, allocations: 0 / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000594/0.1463, allocations: 257.3 kB / 333.9 MB, free: 13.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1464, allocations: 118.9 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1466, allocations: 202.8 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.1467, allocations: 45.69 kB / 334.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1468, allocations: 116.6 kB / 334.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.1468, allocations: 47.47 kB / 334.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.1469, allocations: 49.7 kB / 334.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1471, allocations: 338.8 kB / 334.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1473, allocations: 99.94 kB / 334.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.1476, allocations: 139.2 kB / 335.1 MB, free: 12.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.148, allocations: 231.7 kB / 335.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.148, allocations: 0 / 335.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005632/0.1486, allocations: 313.2 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1486, allocations: 11.12 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1486, allocations: 0 / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1486, allocations: 3.938 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1488, allocations: 31.97 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1488, allocations: 7.938 kB / 335.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.1489, allocations: 19.78 kB / 335.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.149, allocations: 8 kB / 335.7 MB, free: 12.11 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,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.1491, allocations: 149.9 kB / 335.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1492, allocations: 19.8 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1492, allocations: 13.41 kB / 335.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1492, allocations: 0 / 335.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1492, allocations: 7.938 kB / 335.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1492, allocations: 96 / 335.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1495, allocations: 225.4 kB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1495, allocations: 0 / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.1496, allocations: 15.98 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1496, allocations: 4 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1496, allocations: 0 / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1496, allocations: 4 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1496, allocations: 0 / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.15, allocations: 242.5 kB / 336.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1501, allocations: 92.86 kB / 336.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1501, allocations: 19.98 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.1502, allocations: 4 kB / 336.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.1503, allocations: 15.97 kB / 336.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1503, allocations: 11.94 kB / 336.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1504, allocations: 137.2 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.1509, allocations: 128 kB / 336.7 MB, free: 10.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/0.1518, allocations: 341.4 kB / 337.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.1524, allocations: 203.7 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1524, allocations: 0 / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1526, allocations: 76.14 kB / 337.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.1528, allocations: 11.94 kB / 337.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.1534, allocations: 347.3 kB / 337.7 MB, free: 9.941 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1537, allocations: 0.7162 MB / 338.4 MB, free: 9.199 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.1538, allocations: 19.44 kB / 338.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1538, allocations: 0 / 338.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of Templates: time 0.007515/0.1613, allocations: 3.962 MB / 342.4 MB, free: 5.211 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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