Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 109.5 kB / 17.81 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.001607/0.001608, allocations: 190 kB / 18.73 MB, free: 4.766 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.762/1.762, allocations: 205.1 MB / 224.6 MB, free: 12.53 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.001132/0.001132, allocations: 51.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 46.62 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004414/0.1391, allocations: 2.733 MB / 330 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1405, allocations: 0.706 MB / 330.7 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1407, allocations: 4 kB / 330.7 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.1409, allocations: 39.7 kB / 330.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1411, allocations: 75.42 kB / 330.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1414, allocations: 79.88 kB / 330.9 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.1418, allocations: 322.6 kB / 331.2 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.1421, allocations: 94.27 kB / 331.3 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1423, allocations: 123.5 kB / 331.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1425, allocations: 131.4 kB / 331.5 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.1425, allocations: 24 kB / 331.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.1426, allocations: 20 kB / 331.6 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.1427, allocations: 55.77 kB / 331.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1429, allocations: 135.3 kB / 331.8 MB, free: 356 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1431, allocations: 239.7 kB / 332 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.1432, allocations: 0 / 332 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1432, allocations: 3.938 kB / 332 MB, free: 112 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1432, allocations: 0 / 332 MB, free: 112 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00139/0.1446, allocations: 0.5887 MB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.1446, allocations: 8.031 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1448, allocations: 28.66 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1452, allocations: 263.8 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.1453, allocations: 24.88 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.1453, allocations: 24.38 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.1459, allocations: 245.2 kB / 333.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1459, allocations: 0 / 333.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.146, allocations: 12 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.146, allocations: 4 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.1465, allocations: 218.1 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1484, allocations: 0.9212 MB / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.149, allocations: 194.5 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.1494, allocations: 144.8 kB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1494, allocations: 4 kB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1494, allocations: 38.56 kB / 334.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.1495, allocations: 7.938 kB / 334.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001603/0.1511, allocations: 0.5265 MB / 335.2 MB, free: 12.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1511, allocations: 55.41 kB / 335.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1515, allocations: 224.2 kB / 335.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1515, allocations: 33.7 kB / 335.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1516, allocations: 175.8 kB / 335.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.1517, allocations: 71.03 kB / 335.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.1518, allocations: 45.64 kB / 335.8 MB, free: 12.03 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.152, allocations: 334.8 kB / 336.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1522, allocations: 68.83 kB / 336.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1524, allocations: 114 kB / 336.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1527, allocations: 197.6 kB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1527, allocations: 0 / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006997/0.1534, allocations: 334 kB / 336.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1535, allocations: 4 kB / 336.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1535, allocations: 0 / 336.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.154, allocations: 112.8 kB / 337 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1542, allocations: 55.91 kB / 337 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.1566, allocations: 1.729 MB / 338.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1568, allocations: 31.7 kB / 338.8 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1568, allocations: 12 kB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001935/0.157, allocations: 148.1 kB / 338.9 MB, free: 8.707 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001785/0.1572, allocations: 114.5 kB / 339.1 MB, free: 8.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002285/0.1574, allocations: 173.8 kB / 339.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.1574, allocations: 0 / 339.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004403/0.1579, allocations: 257.9 kB / 339.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1579, allocations: 7.281 kB / 339.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.1579, allocations: 4.188 kB / 339.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.158, allocations: 40.84 kB / 339.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1582, allocations: 55.91 kB / 339.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.1598, allocations: 1.545 MB / 341.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1599, allocations: 15.84 kB / 341.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1599, allocations: 15.98 kB / 341.2 MB, free: 6.309 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.1601, allocations: 200.1 kB / 341.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.1602, allocations: 23.81 kB / 341.4 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.1602, allocations: 21.88 kB / 341.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1602, allocations: 0 / 341.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1602, allocations: 0 / 341.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1602, allocations: 3.984 kB / 341.4 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.1612, allocations: 0.6238 MB / 342 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1612, allocations: 0 / 342 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1613, allocations: 31.97 kB / 342.1 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.1616, allocations: 64.75 kB / 342.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1616, allocations: 11.94 kB / 342.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.1634, allocations: 1.682 MB / 343.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1635, allocations: 0 / 343.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1641, allocations: 415.9 kB / 344.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1642, allocations: 100.8 kB / 344.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1643, allocations: 12 kB / 344.3 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1645, allocations: 15.98 kB / 344.3 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1645, allocations: 15.97 kB / 344.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1645, allocations: 4 kB / 344.4 MB, free: 2.859 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1647, allocations: 169.6 kB / 344.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1647, allocations: 0 / 344.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1653, allocations: 127.7 kB / 344.7 MB, free: 2.57 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.1655, allocations: 107.2 kB / 344.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009588/0.1665, allocations: 0.5442 MB / 345.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1665, allocations: 0 / 345.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.1669, allocations: 217.7 kB / 345.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1675, allocations: 36.95 kB / 345.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1694, allocations: 0.8664 MB / 346.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.1701, allocations: 0.7561 MB / 347.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1701, allocations: 19.44 kB / 347.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1701, allocations: 0 / 347.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Templates: time 0.006657/0.1768, allocations: 3.762 MB / 351 MB, free: 12.15 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.OpAmps.LCOscillatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.o] Error 1