Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 97.53 kB / 17.96 MB, free: 5.77 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.0008815/0.0008816, allocations: 173.2 kB / 18.86 MB, free: 4.91 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.974/1.974, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005363/0.0005363, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002503/0.1354, allocations: 1.23 MB / 330.8 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1373, allocations: 0.5773 MB / 331.4 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1375, allocations: 0 / 331.4 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1376, allocations: 3.938 kB / 331.4 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1378, allocations: 15.86 kB / 331.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.1387, allocations: 123.7 kB / 331.5 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1389, allocations: 115.6 kB / 331.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.139, allocations: 13.09 kB / 331.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1391, allocations: 35.84 kB / 331.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.1392, allocations: 59.75 kB / 331.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1392, allocations: 8 kB / 331.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.1396, allocations: 123.8 kB / 331.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.1397, allocations: 27.89 kB / 331.9 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.1397, allocations: 77.38 kB / 332 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.1401, allocations: 143.9 kB / 332.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.1401, allocations: 4 kB / 332.1 MB, free: 1.191 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1401, allocations: 0 / 332.1 MB, free: 1.191 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1401, allocations: 0 / 332.1 MB, free: 1.191 MB / 270.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.0009561/0.1411, allocations: 442.9 kB / 332.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1411, allocations: 8.031 kB / 332.6 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.1415, allocations: 40.83 kB / 332.6 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1417, allocations: 204 kB / 332.8 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.1418, allocations: 8.375 kB / 332.8 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1418, allocations: 12.36 kB / 332.8 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.1421, allocations: 115.9 kB / 333 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1421, allocations: 192 / 333 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1421, allocations: 3.938 kB / 333 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1421, allocations: 0 / 333 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1423, allocations: 71.89 kB / 333 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.1431, allocations: 373.6 kB / 333.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1435, allocations: 153 kB / 333.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1437, allocations: 61.69 kB / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1437, allocations: 0 / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.144, allocations: 148.7 kB / 333.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.144, allocations: 0 / 333.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005928/0.1446, allocations: 253.3 kB / 334 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.1447, allocations: 89.17 kB / 334.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1449, allocations: 186.2 kB / 334.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.145, allocations: 49.69 kB / 334.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1451, allocations: 108.5 kB / 334.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.1451, allocations: 43.45 kB / 334.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1452, allocations: 37.69 kB / 334.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1454, allocations: 326.8 kB / 334.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1456, allocations: 104.5 kB / 334.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1458, allocations: 135.5 kB / 335 MB, free: 14.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.1462, allocations: 226.8 kB / 335.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1462, allocations: 0 / 335.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005024/0.1467, allocations: 293.3 kB / 335.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1468, allocations: 8 kB / 335.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1468, allocations: 4.062 kB / 335.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1468, allocations: 0 / 335.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.147, allocations: 39.91 kB / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.147, allocations: 0 / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.1471, allocations: 23.84 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1471, allocations: 4 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002004/0.1473, allocations: 157.8 kB / 335.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1474, allocations: 15.81 kB / 335.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1474, allocations: 17.39 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1474, allocations: 0 / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1474, allocations: 0 / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1474, allocations: 0 / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1477, allocations: 213.4 kB / 336 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1477, allocations: 0 / 336 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.1477, allocations: 11.98 kB / 336 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1478, allocations: 4 kB / 336 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1478, allocations: 4 kB / 336.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1478, allocations: 0 / 336.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1478, allocations: 0 / 336.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1482, allocations: 237.6 kB / 336.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.1483, allocations: 88.92 kB / 336.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1483, allocations: 11.98 kB / 336.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1484, allocations: 12 kB / 336.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1485, allocations: 19.91 kB / 336.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1485, allocations: 4 kB / 336.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1486, allocations: 119.2 kB / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1486, allocations: 0 / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1489, allocations: 59.98 kB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0005852/0.1495, allocations: 212.4 kB / 336.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.15, allocations: 203.7 kB / 337 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.15, allocations: 4 kB / 337 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1502, allocations: 68.03 kB / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1504, allocations: 8 kB / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.151, allocations: 320.8 kB / 337.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1514, allocations: 0.7121 MB / 338.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1514, allocations: 15.44 kB / 338.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1514, allocations: 0 / 338.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Templates: time 0.005201/0.1566, allocations: 2.42 MB / 340.5 MB, free: 8.34 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoiseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o] Error 1