Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 95.48 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.719/1.719, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.000333, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.003475/0.1732, allocations: 2.444 MB / 361.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1753, allocations: 0.8654 MB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.1756, allocations: 7.938 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1759, allocations: 31.7 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1763, allocations: 95.36 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.1769, allocations: 159.7 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1776, allocations: 478.3 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1779, allocations: 77.66 kB / 362.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.1782, allocations: 163.4 kB / 363.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1785, allocations: 187.2 kB / 363.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.1786, allocations: 20 kB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.1787, allocations: 20 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1788, allocations: 75.67 kB / 363.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1789, allocations: 85.52 kB / 363.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.1794, allocations: 359.3 kB / 363.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-05/0.1794, allocations: 7.984 kB / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.1794, allocations: 0 / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1794, allocations: 0 / 363.8 MB, free: 9.055 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001676/0.1811, allocations: 0.6935 MB / 364.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1812, allocations: 12.03 kB / 364.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1813, allocations: 39.61 kB / 364.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.1818, allocations: 318.2 kB / 364.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1819, allocations: 83.95 kB / 365 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.182, allocations: 31.95 kB / 365 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.1825, allocations: 283.8 kB / 365.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1825, allocations: 0 / 365.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1826, allocations: 15.98 kB / 365.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1826, allocations: 11.94 kB / 365.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.183, allocations: 165.3 kB / 365.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.1857, allocations: 1.48 MB / 367 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.186, allocations: 113.2 kB / 367.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1861, allocations: 49.83 kB / 367.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1861, allocations: 7.984 kB / 367.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.1862, allocations: 42.5 kB / 367.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1862, allocations: 0 / 367.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.003199/0.1894, allocations: 1.118 MB / 368.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.1895, allocations: 106.8 kB / 368.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.19, allocations: 328.4 kB / 368.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.1901, allocations: 33.64 kB / 368.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1903, allocations: 204.1 kB / 368.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1904, allocations: 51.3 kB / 369 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1904, allocations: 4 kB / 369 MB, free: 3.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.1906, allocations: 342.8 kB / 369.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.191, allocations: 159.9 kB / 369.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.1914, allocations: 251 kB / 369.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1918, allocations: 184 kB / 369.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1918, allocations: 0 / 369.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008724/0.2006, allocations: 1.337 MB / 371.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.2007, allocations: 8 kB / 371.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.2007, allocations: 7.938 kB / 371.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.282/0.4827, allocations: 1.175 MB / 372.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.4833, allocations: 74.72 kB / 372.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.4944, allocations: 4.926 MB / 377.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.495, allocations: 44.16 kB / 377.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.4951, allocations: 27.47 kB / 377.5 MB, free: 16.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (integrator2.local_reset,integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 1,4 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4953, allocations: 147.6 kB / 377.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.4954, allocations: 27.91 kB / 377.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.4954, allocations: 24.7 kB / 377.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4954, allocations: 2.188 kB / 377.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4955, allocations: 4.406 kB / 377.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4955, allocations: 1.953 kB / 377.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4965, allocations: 0.7677 MB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4965, allocations: 3.938 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4969, allocations: 55.12 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4969, allocations: 1.375 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4969, allocations: 3.344 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4969, allocations: 1.906 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.497, allocations: 3.953 kB / 378.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.4977, allocations: 0.5422 MB / 379.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4978, allocations: 103.8 kB / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.4978, allocations: 1.5 kB / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.4982, allocations: 32.94 kB / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.4983, allocations: 20.92 kB / 379.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4983, allocations: 6.719 kB / 379.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.4986, allocations: 222.5 kB / 379.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4986, allocations: 2.625 kB / 379.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006041/0.4992, allocations: 98.75 kB / 379.6 MB, free: 14.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator2.y,integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001227/0.4993, allocations: 101.8 kB / 379.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.5012, allocations: 0.7443 MB / 380.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5013, allocations: 3.875 kB / 380.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.5015, allocations: 105.3 kB / 380.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.5021, allocations: 73.14 kB / 380.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.5033, allocations: 0.7181 MB / 381.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.5036, allocations: 0.7744 MB / 382.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5038, allocations: 34.45 kB / 382.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5038, allocations: 0 / 382.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01129/0.5151, allocations: 6.664 MB / 388.8 MB, free: 11.54 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.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_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightningCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightningCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightningCalcHelperMain.o] Error 1