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.001047/0.001047, allocations: 99.61 kB / 17.96 MB, free: 5.637 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.001311/0.001311, allocations: 172.7 kB / 18.86 MB, free: 4.777 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.926/1.926, allocations: 205.4 MB / 225 MB, free: 13.08 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.0006153/0.0006157, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1458, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00208/0.1479, allocations: 1.273 MB / 330.9 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1509, allocations: 1.485 MB / 332.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.151, allocations: 4 kB / 332.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1511, allocations: 7.875 kB / 332.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1512, allocations: 19.86 kB / 332.4 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1523, allocations: 311.3 kB / 332.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1525, allocations: 131.6 kB / 332.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.1526, allocations: 9.5 kB / 332.8 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.1526, allocations: 47.72 kB / 332.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.1528, allocations: 67.69 kB / 333 MB, free: 396 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1528, allocations: 4 kB / 333 MB, free: 392 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007828/0.1536, allocations: 463 kB / 333.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.1537, allocations: 31.89 kB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1538, allocations: 85.3 kB / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1542, allocations: 283.7 kB / 333.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1543, allocations: 4 kB / 333.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1543, allocations: 7.938 kB / 333.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1543, allocations: 0 / 333.8 MB, free: 15.52 MB / 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.001031/0.1553, allocations: 498.8 kB / 334.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1554, allocations: 8.031 kB / 334.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.1557, allocations: 32.67 kB / 334.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1559, allocations: 208.8 kB / 334.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.156, allocations: 12.38 kB / 334.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.156, allocations: 12.36 kB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1563, allocations: 136.5 kB / 334.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1563, allocations: 0 / 334.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1564, allocations: 0 / 334.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1564, allocations: 0 / 334.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1566, allocations: 79.88 kB / 334.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.1576, allocations: 0.5438 MB / 335.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.158, allocations: 175.7 kB / 335.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1582, allocations: 70.55 kB / 335.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1582, allocations: 4 kB / 335.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.1586, allocations: 157.8 kB / 335.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.1586, allocations: 0 / 335.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006467/0.1592, allocations: 261.4 kB / 336 MB, free: 13.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.1593, allocations: 122.9 kB / 336.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1596, allocations: 202.8 kB / 336.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.1596, allocations: 45.7 kB / 336.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.1597, allocations: 108.5 kB / 336.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.1598, allocations: 47.39 kB / 336.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1598, allocations: 37.69 kB / 336.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.16, allocations: 330.8 kB / 336.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1602, allocations: 111.9 kB / 337 MB, free: 12.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.1606, allocations: 139.2 kB / 337.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.161, allocations: 235.7 kB / 337.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.161, allocations: 0 / 337.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005364/0.1616, allocations: 317.3 kB / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1616, allocations: 4 kB / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1616, allocations: 0 / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1616, allocations: 4 kB / 337.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1618, allocations: 35.97 kB / 337.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1618, allocations: 4.406 kB / 337.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.1619, allocations: 35.72 kB / 337.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.162, allocations: 7.984 kB / 337.7 MB, free: 11.29 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.0001521/0.1621, allocations: 153.8 kB / 337.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1621, allocations: 11.81 kB / 337.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.1622, allocations: 13.41 kB / 337.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1622, allocations: 7.938 kB / 337.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1622, allocations: 0 / 337.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1622, allocations: 3.984 kB / 337.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1624, allocations: 225.5 kB / 338.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1625, allocations: 4 kB / 338.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.1625, allocations: 8 kB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1625, allocations: 4 kB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1625, allocations: 3.984 kB / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1626, allocations: 0 / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1626, allocations: 4 kB / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.163, allocations: 261.6 kB / 338.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.1631, allocations: 96.84 kB / 338.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1631, allocations: 12 kB / 338.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1632, allocations: 15.98 kB / 338.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1633, allocations: 11.98 kB / 338.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1633, allocations: 11.94 kB / 338.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1634, allocations: 141.1 kB / 338.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1634, allocations: 0 / 338.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.1639, allocations: 128 kB / 338.8 MB, free: 10.1 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.0009109/0.1648, allocations: 343.7 kB / 339.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.1653, allocations: 211.7 kB / 339.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1653, allocations: 0 / 339.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1655, allocations: 80.14 kB / 339.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1657, allocations: 8 kB / 339.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.1664, allocations: 348.8 kB / 339.8 MB, free: 9.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1668, allocations: 0.7123 MB / 340.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.1669, allocations: 19.44 kB / 340.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1669, allocations: 0 / 340.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of Templates: time 0.007298/0.1742, allocations: 3.954 MB / 344.5 MB, free: 4.375 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