Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) 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_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001506, allocations: 92.47 kB / 16.37 MB, free: 6.43 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.001853/0.001853, allocations: 191.3 kB / 17.27 MB, free: 6.246 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.491/1.491, allocations: 223.2 MB / 241.3 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05729/0.05729, allocations: 12.06 MB / 304.4 MB, free: 3.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8 kB / 368.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 53.36 MB / 421.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.00233/0.2867, allocations: 1.891 MB / 423.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.287, allocations: 144.4 kB / 423.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.2871, allocations: 9.781 kB / 423.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.2872, allocations: 23.91 kB / 423.7 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.2873, allocations: 3.938 kB / 423.7 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2875, allocations: 39.91 kB / 423.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2876, allocations: 53.09 kB / 423.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2878, allocations: 15.98 kB / 423.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.2878, allocations: 19.91 kB / 423.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.2879, allocations: 26.89 kB / 423.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2879, allocations: 0 / 423.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.288, allocations: 24 kB / 423.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.288, allocations: 11.92 kB / 423.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.288, allocations: 37.64 kB / 423.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.2882, allocations: 67.81 kB / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2882, allocations: 0 / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2882, allocations: 0 / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.2882, allocations: 2.844 kB / 424 MB, free: 18.12 MB / 302.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.0003584/0.2886, allocations: 412.6 kB / 424.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2886, allocations: 12.03 kB / 424.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.2886, allocations: 7.906 kB / 424.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2888, allocations: 187 kB / 424.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2888, allocations: 11.94 kB / 424.6 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2889, allocations: 8 kB / 424.6 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2892, allocations: 168.8 kB / 424.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2892, allocations: 3.953 kB / 424.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2892, allocations: 0 / 424.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.2892, allocations: 7.984 kB / 424.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.2893, allocations: 39.92 kB / 424.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.2896, allocations: 273.7 kB / 425.1 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2898, allocations: 170.1 kB / 425.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.2899, allocations: 41.78 kB / 425.3 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.29, allocations: 81.11 kB / 425.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2901, allocations: 38.55 kB / 425.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2901, allocations: 0 / 425.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000291/0.2904, allocations: 168.9 kB / 425.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.2904, allocations: 128.5 kB / 425.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.2905, allocations: 121.8 kB / 425.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2905, allocations: 33.73 kB / 425.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2906, allocations: 88.14 kB / 426 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2906, allocations: 19.73 kB / 426 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.2906, allocations: 4 kB / 426 MB, free: 15.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.2907, allocations: 314.8 kB / 426.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.2907, allocations: 19.98 kB / 426.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.2907, allocations: 57.94 kB / 426.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.2908, allocations: 71.41 kB / 426.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2908, allocations: 4 kB / 426.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001613/0.291, allocations: 157.1 kB / 426.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.291, allocations: 63.39 kB / 426.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.291, allocations: 4.25 kB / 426.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2911, allocations: 0 / 426.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.2911, allocations: 15.94 kB / 426.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2911, allocations: 4.094 kB / 426.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.2912, allocations: 11.84 kB / 426.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2912, allocations: 8 kB / 426.7 MB, free: 15.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 7.907e-05/0.2913, allocations: 173.2 kB / 426.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.2914, allocations: 81.55 kB / 426.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.2914, allocations: 3.969 kB / 427 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2914, allocations: 0 / 427 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2914, allocations: 4 kB / 427 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2914, allocations: 3.984 kB / 427 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2916, allocations: 181.6 kB / 427.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2916, allocations: 0 / 427.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2916, allocations: 12.08 kB / 427.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2916, allocations: 3.953 kB / 427.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2916, allocations: 3.984 kB / 427.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2916, allocations: 4 kB / 427.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2916, allocations: 7.984 kB / 427.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.2918, allocations: 267.7 kB / 427.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.2919, allocations: 81.02 kB / 427.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2919, allocations: 11.95 kB / 427.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.292, allocations: 0 / 427.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.292, allocations: 7.984 kB / 427.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.292, allocations: 4 kB / 427.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.292, allocations: 99.27 kB / 427.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2921, allocations: 0 / 427.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.2923, allocations: 20 kB / 427.7 MB, free: 13.96 MB / 302.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: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0005017/0.2928, allocations: 248.4 kB / 427.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.293, allocations: 170.7 kB / 428.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.293, allocations: 0 / 428.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.2931, allocations: 123.2 kB / 428.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2934, allocations: 33.95 kB / 428.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.2938, allocations: 235.8 kB / 428.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.294, allocations: 0.701 MB / 429.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.294, allocations: 11.44 kB / 429.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.294, allocations: 4 kB / 429.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.002908/0.2969, allocations: 1.461 MB / 430.6 MB, free: 10.94 MB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSourceCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSourceCalcHelperMain.o] Error 1