Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.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.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002154/0.002155, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001358/0.001358, allocations: 47.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.008503/0.1672, allocations: 5.205 MB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1789, allocations: 6.712 MB / 339.2 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1807, allocations: 35.75 kB / 339.2 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.1828, allocations: 445.6 kB / 339.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.1868, allocations: 0.6755 MB / 340.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1885, allocations: 323 kB / 340.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.1925, allocations: 1.946 MB / 342.6 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.1929, allocations: 151.5 kB / 342.7 MB, free: 5.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.1934, allocations: 330.2 kB / 343 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1938, allocations: 329.7 kB / 343.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.1939, allocations: 20 kB / 343.4 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1954, allocations: 451.6 kB / 343.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1956, allocations: 107.2 kB / 343.9 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.196, allocations: 433.1 kB / 344.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1972, allocations: 0.939 MB / 345.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1972, allocations: 0 / 345.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1972, allocations: 0 / 345.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1972, allocations: 4 kB / 345.3 MB, free: 2.766 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002352/0.1996, allocations: 1.436 MB / 346.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1996, allocations: 8.031 kB / 346.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.1998, allocations: 130.3 kB / 346.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.201, allocations: 0.8503 MB / 347.7 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2011, allocations: 20.44 kB / 347.7 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.2011, allocations: 24 kB / 347.8 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.2018, allocations: 302.7 kB / 348 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2018, allocations: 4 kB / 348.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.2018, allocations: 7.938 kB / 348.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2019, allocations: 8 kB / 348.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.2023, allocations: 221.8 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2042, allocations: 1.126 MB / 349.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.2047, allocations: 250.3 kB / 349.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.2052, allocations: 308.5 kB / 350 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.2064, allocations: 0.7438 MB / 350.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2065, allocations: 42.56 kB / 350.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.655e-06/0.2065, allocations: 3.938 kB / 350.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003092/0.2096, allocations: 1.557 MB / 352.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2097, allocations: 110.8 kB / 352.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.211, allocations: 0.934 MB / 353.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.2111, allocations: 29.7 kB / 353.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.2114, allocations: 361.5 kB / 353.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.2115, allocations: 126 kB / 353.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.2117, allocations: 117.5 kB / 354 MB, free: 9.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2119, allocations: 329.9 kB / 354.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.2122, allocations: 124.6 kB / 354.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.2125, allocations: 155.6 kB / 354.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.2141, allocations: 0.7411 MB / 355.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2141, allocations: 0 / 355.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001145/0.2153, allocations: 0.5503 MB / 355.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.2154, allocations: 37.7 kB / 355.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/0.2154, allocations: 19.98 kB / 355.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.2157, allocations: 69.72 kB / 356 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.216, allocations: 43.91 kB / 356 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.2193, allocations: 3 MB / 359 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.2199, allocations: 12.22 kB / 359 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.22, allocations: 20 kB / 359 MB, free: 4.156 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007609/0.2207, allocations: 260 kB / 359.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.2211, allocations: 122.5 kB / 359.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.2228, allocations: 0.665 MB / 360.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2229, allocations: 4 kB / 360.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2229, allocations: 3.938 kB / 360.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2229, allocations: 0 / 360.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.224, allocations: 0.616 MB / 360.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.2241, allocations: 16 kB / 360.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.2243, allocations: 27.98 kB / 360.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.2245, allocations: 73.61 kB / 360.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.2246, allocations: 19.98 kB / 360.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.2274, allocations: 2.993 MB / 363.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2275, allocations: 3.984 kB / 363.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.229, allocations: 0.8589 MB / 364.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/0.2296, allocations: 271.5 kB / 365 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.2298, allocations: 15.88 kB / 365 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2301, allocations: 12 kB / 365 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.2303, allocations: 35.89 kB / 365 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.2304, allocations: 16 kB / 365 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.2315, allocations: 0.6295 MB / 365.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2315, allocations: 0 / 365.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001095/0.2326, allocations: 223.9 kB / 365.9 MB, free: 12.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009054/0.2336, allocations: 295 kB / 366.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.2351, allocations: 0.7811 MB / 367 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2352, allocations: 0 / 367 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.236, allocations: 0.6243 MB / 367.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.2368, allocations: 108.8 kB / 367.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.2404, allocations: 1.953 MB / 369.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.2412, allocations: 0.9959 MB / 370.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2414, allocations: 51.42 kB / 370.7 MB, free: 7.898 MB / 318.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2414, allocations: 4 kB / 370.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of Templates: time 0.3/0.5414, allocations: 17.29 MB / 388 MB, free: 50.29 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.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.Electrical.Spice3.Examples.GraetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.o] Error 1