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.001085/0.001085, allocations: 101 kB / 17.96 MB, free: 5.766 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.001469/0.001468, allocations: 177.1 kB / 18.86 MB, free: 4.906 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.115/2.115, allocations: 205.4 MB / 225 MB, free: 12.98 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.0006179/0.0006181, allocations: 12 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.172, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006995/0.1791, allocations: 4.8 MB / 334.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1918, allocations: 6.588 MB / 341 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1931, allocations: 39.69 kB / 341 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.1953, allocations: 466.6 kB / 341.5 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.1996, allocations: 0.6716 MB / 342.2 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.2019, allocations: 327 kB / 342.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005151/0.2071, allocations: 1.942 MB / 344.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.2077, allocations: 155.5 kB / 344.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009932/0.2087, allocations: 318.2 kB / 344.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.2092, allocations: 329.7 kB / 345.2 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.646e-05/0.2093, allocations: 16 kB / 345.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.2115, allocations: 447.6 kB / 345.7 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2117, allocations: 99.19 kB / 345.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000696/0.2124, allocations: 454.8 kB / 346.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.2143, allocations: 0.9115 MB / 347.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.2143, allocations: 7.938 kB / 347.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.31e-06/0.2143, allocations: 0 / 347.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.2143, allocations: 0 / 347.1 MB, free: 2.145 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.002581/0.2169, allocations: 1.285 MB / 348.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/0.217, allocations: 12.03 kB / 348.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.2172, allocations: 134.3 kB / 348.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2188, allocations: 0.8503 MB / 349.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.2189, allocations: 16.44 kB / 349.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.219, allocations: 27.98 kB / 349.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.2197, allocations: 302.7 kB / 349.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2197, allocations: 3.938 kB / 349.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.2198, allocations: 15.94 kB / 349.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2198, allocations: 4 kB / 349.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.2203, allocations: 233.8 kB / 350 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.2225, allocations: 1.13 MB / 351.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.2231, allocations: 242.5 kB / 351.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.2237, allocations: 304.4 kB / 351.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.2251, allocations: 0.7594 MB / 352.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.2252, allocations: 38.56 kB / 352.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 6.212e-06/0.2252, allocations: 0 / 352.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003722/0.2289, allocations: 1.58 MB / 354 MB, free: 10.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2291, allocations: 118.8 kB / 354.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.2304, allocations: 0.9262 MB / 355.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.2305, allocations: 29.7 kB / 355.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.2309, allocations: 361.5 kB / 355.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.2311, allocations: 138 kB / 355.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.2312, allocations: 33.7 kB / 355.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2314, allocations: 329.9 kB / 355.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.2316, allocations: 124.6 kB / 356.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.232, allocations: 163.6 kB / 356.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.2336, allocations: 0.7566 MB / 357 MB, free: 7.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2336, allocations: 0 / 357 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001231/0.2349, allocations: 0.562 MB / 357.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.235, allocations: 41.69 kB / 357.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/0.2351, allocations: 16 kB / 357.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.2354, allocations: 73.7 kB / 357.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2356, allocations: 43.92 kB / 357.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.2388, allocations: 2.996 MB / 360.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.2393, allocations: 12 kB / 360.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.2394, allocations: 20.08 kB / 360.7 MB, free: 3.676 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.0006439/0.24, allocations: 263.9 kB / 361 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.2402, allocations: 122.5 kB / 361.1 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.2417, allocations: 0.6687 MB / 361.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2418, allocations: 4 kB / 361.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2418, allocations: 3.938 kB / 361.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2418, allocations: 3.984 kB / 361.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.2428, allocations: 0.6121 MB / 362.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.2428, allocations: 12 kB / 362.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.243, allocations: 43.91 kB / 362.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.2433, allocations: 69.67 kB / 362.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.2433, allocations: 12 kB / 362.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.2463, allocations: 3 MB / 365.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2463, allocations: 0 / 365.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.2479, allocations: 0.8752 MB / 366.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.2484, allocations: 279.5 kB / 366.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.2485, allocations: 11.94 kB / 366.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.2487, allocations: 12 kB / 366.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2489, allocations: 32.08 kB / 366.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.2489, allocations: 20 kB / 366.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009573/0.2499, allocations: 0.6334 MB / 367.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2499, allocations: 0 / 367.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001102/0.251, allocations: 223.9 kB / 367.6 MB, free: 12.39 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.0007759/0.2518, allocations: 290.9 kB / 367.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.2533, allocations: 0.7963 MB / 368.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2533, allocations: 0 / 368.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.2542, allocations: 0.6169 MB / 369.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.2549, allocations: 104.8 kB / 369.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.2583, allocations: 2.022 MB / 371.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/0.2591, allocations: 0.9998 MB / 372.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2592, allocations: 51.42 kB / 372.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2592, allocations: 3.938 kB / 372.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Templates: time 0.313/0.5722, allocations: 17.22 MB / 389.7 MB, free: 48.74 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