Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 95.34 kB / 16.96 MB, free: 6.398 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.001261/0.00126, allocations: 175.4 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 241.8 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 9.844 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001778/0.1372, allocations: 1.054 MB / 352.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.138, allocations: 335.8 kB / 353.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.1381, allocations: 4 kB / 353.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1381, allocations: 3.938 kB / 353.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.1382, allocations: 3.938 kB / 353.3 MB, free: 2.617 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.1388, allocations: 71.84 kB / 353.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.1388, allocations: 15.94 kB / 353.3 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.1389, allocations: 7.984 kB / 353.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.139, allocations: 7.938 kB / 353.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.139, allocations: 15.97 kB / 353.4 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.139, allocations: 0 / 353.4 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.1392, allocations: 75.86 kB / 353.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1393, allocations: 0 / 353.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.1393, allocations: 33.7 kB / 353.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1395, allocations: 55.89 kB / 353.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1395, allocations: 0 / 353.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1395, allocations: 0 / 353.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1395, allocations: 0 / 353.5 MB, free: 2.332 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004291/0.1399, allocations: 347.3 kB / 353.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.14, allocations: 8.031 kB / 353.9 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.14, allocations: 7.953 kB / 353.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1402, allocations: 167.2 kB / 354.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1402, allocations: 0 / 354.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1402, allocations: 7.984 kB / 354.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1403, allocations: 33.7 kB / 354.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1403, allocations: 0 / 354.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1404, allocations: 3.938 kB / 354.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1404, allocations: 4 kB / 354.1 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.1404, allocations: 7.953 kB / 354.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1408, allocations: 241 kB / 354.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.1409, allocations: 26.5 kB / 354.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.1409, allocations: 12.92 kB / 354.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1409, allocations: 4 kB / 354.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1411, allocations: 55.31 kB / 354.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1411, allocations: 0 / 354.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002099/0.1413, allocations: 61.56 kB / 354.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1414, allocations: 51.41 kB / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1415, allocations: 105.8 kB / 354.7 MB, free: 1.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1415, allocations: 29.7 kB / 354.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1416, allocations: 88.14 kB / 354.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1416, allocations: 7.891 kB / 354.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1416, allocations: 0 / 354.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1418, allocations: 314.8 kB / 355.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.1418, allocations: 4 kB / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.1418, allocations: 25.7 kB / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.1419, allocations: 15.94 kB / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1419, allocations: 0 / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.142, allocations: 61.62 kB / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.142, allocations: 8 kB / 355.2 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.142, allocations: 384 / 355.2 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1421, allocations: 3.953 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.1421, allocations: 11.98 kB / 355.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1421, allocations: 4 kB / 355.2 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.1422, allocations: 3.906 kB / 355.2 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1422, allocations: 0 / 355.2 MB, free: 428 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 9.563e-05/0.1423, allocations: 113.8 kB / 355.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.1423, allocations: 12.03 kB / 355.3 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.1423, allocations: 3.906 kB / 355.4 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1423, allocations: 0 / 355.4 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1424, allocations: 4.188 kB / 355.4 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1424, allocations: 0 / 355.4 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1427, allocations: 286.6 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1427, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.1427, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.1427, allocations: 3.938 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1427, allocations: 7.953 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1427, allocations: 4 kB / 355.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1427, allocations: 0 / 355.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1429, allocations: 143.5 kB / 355.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.1429, allocations: 89 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.143, allocations: 0 / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.143, allocations: 3.953 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.143, allocations: 0 / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1431, allocations: 8 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.1431, allocations: 87.27 kB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1434, allocations: 31.94 kB / 356 MB, free: 15.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004681/0.1439, allocations: 189.3 kB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.144, allocations: 23.92 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.144, allocations: 0 / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.1441, allocations: 8 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1443, allocations: 4 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.1446, allocations: 138.5 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1449, allocations: 0.6809 MB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.1449, allocations: 7.438 kB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.145, allocations: 0 / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Templates: time 0.003635/0.1486, allocations: 1.151 MB / 358.2 MB, free: 13.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o] Error 1