Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 102.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 239.7 MB, free: 5.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 180.5 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03318/0.03318, allocations: 8.796 MB / 350.8 MB, free: 4.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 10.47 kB / 413.8 MB, free: 42.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 52.55 MB / 466.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002582/0.1317, allocations: 1.479 MB / 467.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.1327, allocations: 435.2 kB / 468.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1328, allocations: 4 kB / 468.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.133, allocations: 15.91 kB / 468.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.1331, allocations: 23.78 kB / 468.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1332, allocations: 19.98 kB / 468.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1335, allocations: 111.5 kB / 468.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1337, allocations: 33.19 kB / 468.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.1338, allocations: 43.86 kB / 468.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1339, allocations: 43.78 kB / 468.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1339, allocations: 8 kB / 468.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.134, allocations: 7.938 kB / 468.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1341, allocations: 19.92 kB / 468.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.1341, allocations: 45.64 kB / 468.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1343, allocations: 84.03 kB / 468.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1343, allocations: 0 / 468.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1343, allocations: 0 / 468.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1343, allocations: 0 / 468.7 MB, free: 11.23 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006956/0.135, allocations: 397.1 kB / 469.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1351, allocations: 8.031 kB / 469.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.1352, allocations: 19.77 kB / 469.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1355, allocations: 190.9 kB / 469.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1355, allocations: 8 kB / 469.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.1355, allocations: 8 kB / 469.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1358, allocations: 102.5 kB / 469.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1359, allocations: 0 / 469.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.1359, allocations: 11.94 kB / 469.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1359, allocations: 7.953 kB / 469.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1361, allocations: 63.91 kB / 469.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1372, allocations: 0.4981 MB / 470 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1373, allocations: 46.5 kB / 470.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1374, allocations: 16.86 kB / 470.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1374, allocations: 0 / 470.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1374, allocations: 38.56 kB / 470.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.276e-06/0.1374, allocations: 3.984 kB / 470.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000245/0.1377, allocations: 65.64 kB / 470.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1378, allocations: 51.41 kB / 470.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.138, allocations: 143.9 kB / 470.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.138, allocations: 29.7 kB / 470.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1381, allocations: 112 kB / 470.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1381, allocations: 19.75 kB / 470.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.1382, allocations: 3.938 kB / 470.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1383, allocations: 322.8 kB / 470.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.1384, allocations: 12 kB / 470.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.1385, allocations: 30.56 kB / 470.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.1385, allocations: 16 kB / 470.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1385, allocations: 0 / 470.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001882/0.1387, allocations: 89.56 kB / 471 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1388, allocations: 4 kB / 471 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1388, allocations: 3.938 kB / 471 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1388, allocations: 4 kB / 471 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1389, allocations: 19.94 kB / 471 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.139, allocations: 0 / 471 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.139, allocations: 4 kB / 471 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1391, allocations: 4.062 kB / 471 MB, free: 8.672 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001296/0.1392, allocations: 125.7 kB / 471.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1393, allocations: 11.94 kB / 471.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.1393, allocations: 12.25 kB / 471.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1393, allocations: 0 / 471.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1394, allocations: 3.953 kB / 471.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1394, allocations: 3.984 kB / 471.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1397, allocations: 193.6 kB / 471.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1397, allocations: 3.938 kB / 471.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.1398, allocations: 11.98 kB / 471.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1398, allocations: 0 / 471.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1399, allocations: 4 kB / 471.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1399, allocations: 4 kB / 471.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1399, allocations: 0 / 471.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1401, allocations: 167.3 kB / 471.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.1402, allocations: 85 kB / 471.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1403, allocations: 8.031 kB / 471.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1404, allocations: 0 / 471.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.1404, allocations: 4 kB / 471.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1404, allocations: 64 / 471.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1406, allocations: 113.3 kB / 471.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1406, allocations: 0 / 471.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.141, allocations: 35.8 kB / 471.8 MB, free: 7.805 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.0001076/0.1411, allocations: 91.78 kB / 471.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1412, allocations: 35.92 kB / 471.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1412, allocations: 0 / 471.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/0.1413, allocations: 12 kB / 471.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1417, allocations: 14.23 kB / 472 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.1425, allocations: 361.4 kB / 472.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1429, allocations: 0.7004 MB / 473 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.143, allocations: 15.44 kB / 473 MB, free: 6.523 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.143, allocations: 0 / 473 MB, free: 6.523 MB / 302.1 MB Notification: Performance of Templates: time 0.003697/0.1467, allocations: 1.086 MB / 474.1 MB, free: 5.438 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.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 OMCppHanserModelica_HanserModelica.FirstSteps.Electrical4CalcHelperMain.o OMCppHanserModelica_HanserModelica.FirstSteps.Electrical4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.FirstSteps.Electrical4CalcHelperMain.o] Error 1