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.001792/0.001792, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.002181/0.002182, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.88/1.88, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001651/0.001651, allocations: 47.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003021/0.1494, allocations: 1.554 MB / 328.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1506, allocations: 0.5966 MB / 329.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.1507, allocations: 0 / 329.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.1508, allocations: 3.938 kB / 329.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.1509, allocations: 15.86 kB / 329.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1513, allocations: 123.8 kB / 329.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1515, allocations: 107.7 kB / 329.6 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.1515, allocations: 17.11 kB / 329.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.1516, allocations: 39.84 kB / 329.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1517, allocations: 55.75 kB / 329.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1517, allocations: 4 kB / 329.8 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1519, allocations: 123.8 kB / 329.9 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.152, allocations: 27.91 kB / 329.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.152, allocations: 59.58 kB / 330 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1523, allocations: 144 kB / 330.1 MB, free: 2.016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1523, allocations: 0 / 330.1 MB, free: 2.016 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1523, allocations: 0 / 330.1 MB, free: 2.016 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1523, allocations: 4 kB / 330.1 MB, free: 2.012 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.0006147/0.1529, allocations: 462.8 kB / 330.6 MB, free: 1.508 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1529, allocations: 12.03 kB / 330.6 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.1533, allocations: 36.81 kB / 330.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1534, allocations: 192.1 kB / 330.8 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1534, allocations: 8.375 kB / 330.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1535, allocations: 8.359 kB / 330.8 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1537, allocations: 115.9 kB / 330.9 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1537, allocations: 192 / 330.9 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1537, allocations: 3.938 kB / 330.9 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1537, allocations: 8 kB / 330.9 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1539, allocations: 59.94 kB / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.1545, allocations: 377.4 kB / 331.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1548, allocations: 129.1 kB / 331.5 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.155, allocations: 57.73 kB / 331.5 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.155, allocations: 4 kB / 331.5 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.1553, allocations: 141 kB / 331.7 MB, free: 240 kB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.1553, allocations: 0 / 331.7 MB, free: 240 kB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004865/0.1558, allocations: 237.5 kB / 331.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1558, allocations: 89.11 kB / 332 MB, free: 15.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.156, allocations: 182.2 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.156, allocations: 41.69 kB / 332.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.1561, allocations: 116.4 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1562, allocations: 43.44 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.1563, allocations: 57.94 kB / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1564, allocations: 330.8 kB / 332.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1566, allocations: 96.47 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1568, allocations: 135.5 kB / 333 MB, free: 14.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1572, allocations: 214.9 kB / 333.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1572, allocations: 4 kB / 333.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000458/0.1576, allocations: 285.3 kB / 333.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1577, allocations: 4 kB / 333.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1577, allocations: 4 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1577, allocations: 0 / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1578, allocations: 35.98 kB / 333.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1579, allocations: 4 kB / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.1579, allocations: 23.77 kB / 333.5 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.158, allocations: 8 kB / 333.6 MB, free: 14.27 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.0001391/0.1581, allocations: 149.8 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1582, allocations: 19.81 kB / 333.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.1582, allocations: 9.406 kB / 333.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1582, allocations: 8 kB / 333.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1582, allocations: 0 / 333.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1582, allocations: 3.984 kB / 333.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1584, allocations: 209.4 kB / 333.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1584, allocations: 4 kB / 334 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.1585, allocations: 4 kB / 334 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1585, allocations: 3.984 kB / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1585, allocations: 4 kB / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1585, allocations: 0 / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1585, allocations: 0 / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1589, allocations: 225.6 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.1589, allocations: 88.92 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.159, allocations: 15.98 kB / 334.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.159, allocations: 4 kB / 334.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1591, allocations: 11.98 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1591, allocations: 12 kB / 334.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1592, allocations: 123.2 kB / 334.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 334.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1595, allocations: 56 kB / 334.5 MB, free: 13.24 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.0004682/0.16, allocations: 229.2 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.1604, allocations: 207.6 kB / 334.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1604, allocations: 0 / 334.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1606, allocations: 64.09 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1607, allocations: 4 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1612, allocations: 315.4 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1616, allocations: 0.716 MB / 336 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1617, allocations: 11.44 kB / 336 MB, free: 11.65 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1617, allocations: 0 / 336 MB, free: 11.65 MB / 286.1 MB Notification: Performance of Templates: time 0.004662/0.1663, allocations: 2.44 MB / 338.5 MB, free: 9.207 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