Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001389/0.00139, allocations: 175.9 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 1.941/1.941, 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.0005278/0.0005279, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006855/0.1312, allocations: 5.456 MB / 335.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.1354, allocations: 1.637 MB / 336.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009644/0.1364, allocations: 31.81 kB / 336.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.137, allocations: 186.5 kB / 336.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.1375, allocations: 170.4 kB / 337.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1386, allocations: 451.6 kB / 337.5 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1401, allocations: 1.301 MB / 338.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008494/0.141, allocations: 0.5296 MB / 339.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.1416, allocations: 370.1 kB / 339.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.1421, allocations: 417.3 kB / 340.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.1423, allocations: 48 kB / 340.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.1425, allocations: 63.94 kB / 340.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1427, allocations: 179.1 kB / 340.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004907/0.1432, allocations: 0.5375 MB / 340.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1443, allocations: 1.165 MB / 342.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1443, allocations: 0 / 342.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1444, allocations: 0 / 342.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1444, allocations: 0 / 342.1 MB, free: 7.16 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002102/0.1465, allocations: 1.236 MB / 343.3 MB, free: 5.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.1466, allocations: 8.031 kB / 343.4 MB, free: 5.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.1468, allocations: 142.3 kB / 343.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1478, allocations: 0.7236 MB / 344.2 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.1479, allocations: 94.41 kB / 344.3 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.1481, allocations: 116 kB / 344.4 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.1501, allocations: 1.272 MB / 345.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.1502, allocations: 7.938 kB / 345.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.1503, allocations: 48 kB / 345.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.1504, allocations: 36 kB / 345.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1518, allocations: 0.7008 MB / 346.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006972/0.1587, allocations: 6.832 MB / 353.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.1595, allocations: 281.2 kB / 353.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.1599, allocations: 181.6 kB / 353.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.1601, allocations: 85.11 kB / 353.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1601, allocations: 38.56 kB / 353.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 3.146e-06/0.1601, allocations: 0 / 353.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002753/0.1629, allocations: 1.423 MB / 355.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.163, allocations: 85.11 kB / 355.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/0.1638, allocations: 0.653 MB / 356.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1638, allocations: 33.7 kB / 356.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.1643, allocations: 0.6875 MB / 356.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.1644, allocations: 110.5 kB / 356.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.1645, allocations: 69.69 kB / 356.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.1647, allocations: 382.8 kB / 357.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.165, allocations: 149.9 kB / 357.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.1656, allocations: 0.5546 MB / 358 MB, free: 6.219 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1668, allocations: 0.9619 MB / 359 MB, free: 5.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1669, allocations: 4 kB / 359 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001266/0.1681, allocations: 0.7979 MB / 359.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.1682, allocations: 15.98 kB / 359.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.1682, allocations: 12 kB / 359.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.1685, allocations: 90.31 kB / 359.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.169, allocations: 183.7 kB / 360.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.1716, allocations: 2.993 MB / 363.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.172, allocations: 39.98 kB / 363.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.1721, allocations: 40 kB / 363.2 MB, free: 0.5703 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004901/0.1726, allocations: 273.4 kB / 363.4 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1727, allocations: 75.12 kB / 363.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.1728, allocations: 82.28 kB / 363.6 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1729, allocations: 4 kB / 363.6 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1729, allocations: 0 / 363.6 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1729, allocations: 0 / 363.6 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.1747, allocations: 1.255 MB / 364.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1747, allocations: 4 kB / 364.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.175, allocations: 64.06 kB / 364.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.1752, allocations: 65.55 kB / 365 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1752, allocations: 8.125 kB / 365 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.1772, allocations: 2.783 MB / 367.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1773, allocations: 4.031 kB / 367.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.1782, allocations: 0.6469 MB / 368.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1783, allocations: 140.4 kB / 368.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1784, allocations: 8 kB / 368.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.1786, allocations: 23.98 kB / 368.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.1787, allocations: 31.83 kB / 368.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1787, allocations: 8 kB / 368.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.1792, allocations: 435 kB / 369 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1793, allocations: 0 / 369 MB, free: 10.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009486/0.1802, allocations: 160 kB / 369.2 MB, free: 10.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.1804, allocations: 111.2 kB / 369.3 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1815, allocations: 0.6574 MB / 370 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1815, allocations: 0 / 370 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.182, allocations: 377.1 kB / 370.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.1827, allocations: 71.8 kB / 370.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.1863, allocations: 2.476 MB / 372.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.187, allocations: 1.038 MB / 373.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1872, allocations: 63.42 kB / 374 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 2.665e-06/0.1872, allocations: 0 / 374 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Templates: time 0.2546/0.4418, allocations: 19.34 MB / 393.3 MB, free: 45.06 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.Analog.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1