Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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 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_4.0.0_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_4.0.0_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.001039/0.001039, allocations: 92.11 kB / 16.95 MB, free: 5.953 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.001263/0.001263, allocations: 178.6 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003854, allocations: 8 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003123/0.1261, allocations: 2.27 MB / 354.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1275, allocations: 0.6392 MB / 354.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.1278, allocations: 4 kB / 354.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1281, allocations: 47.69 kB / 354.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1284, allocations: 67.45 kB / 354.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1287, allocations: 71.91 kB / 355 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.1292, allocations: 306.4 kB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1294, allocations: 89.69 kB / 355.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1297, allocations: 99.58 kB / 355.5 MB, free: 408 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1299, allocations: 123.5 kB / 355.6 MB, free: 284 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.1299, allocations: 12 kB / 355.6 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.13, allocations: 16 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.13, allocations: 47.77 kB / 355.7 MB, free: 208 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.1301, allocations: 73.58 kB / 355.7 MB, free: 128 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1303, allocations: 227.6 kB / 355.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1304, allocations: 4 kB / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1304, allocations: 0 / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1304, allocations: 4 kB / 356 MB, free: 15.89 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009346/0.1313, allocations: 0.5496 MB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1314, allocations: 11.97 kB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1315, allocations: 27.72 kB / 356.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1319, allocations: 250.5 kB / 356.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1319, allocations: 16.56 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.132, allocations: 27.98 kB / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.1325, allocations: 279.7 kB / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1326, allocations: 0 / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.1326, allocations: 15.95 kB / 357.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1326, allocations: 4 kB / 357.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.1331, allocations: 210.1 kB / 357.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1348, allocations: 1.023 MB / 358.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.1353, allocations: 190.5 kB / 358.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.1357, allocations: 160.8 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1358, allocations: 8 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1358, allocations: 34.86 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1358, allocations: 0 / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00171/0.1375, allocations: 0.6004 MB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1376, allocations: 51.41 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1379, allocations: 233 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1379, allocations: 33.64 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.138, allocations: 179.8 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.1381, allocations: 55.11 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.1381, allocations: 8 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1383, allocations: 338.8 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1384, allocations: 75.91 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1386, allocations: 127 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1389, allocations: 95.84 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1389, allocations: 0 / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008095/0.1397, allocations: 360.5 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.1397, allocations: 18.73 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1397, allocations: 0 / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.1401, allocations: 88.83 kB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1403, allocations: 47.97 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.1429, allocations: 1.846 MB / 362.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1431, allocations: 35.92 kB / 362.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1431, allocations: 16 kB / 362.9 MB, free: 8.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.1433, allocations: 134.3 kB / 363 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1434, allocations: 23.7 kB / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.1434, allocations: 34.17 kB / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1434, allocations: 0 / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1434, allocations: 0 / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1435, allocations: 0 / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1446, allocations: 0.6707 MB / 363.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1446, allocations: 0 / 363.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1448, allocations: 27.98 kB / 363.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.145, allocations: 84.8 kB / 363.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.145, allocations: 0 / 363.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.1471, allocations: 1.768 MB / 365.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1471, allocations: 0 / 365.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.148, allocations: 471.9 kB / 366.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1481, allocations: 96.88 kB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1481, allocations: 12 kB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1483, allocations: 24.05 kB / 366.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.1484, allocations: 11.98 kB / 366.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1484, allocations: 7.938 kB / 366.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1485, allocations: 172.4 kB / 366.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 0 / 366.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.149, allocations: 71.84 kB / 366.5 MB, free: 4.684 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.1492, allocations: 107.2 kB / 366.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.1501, allocations: 393.1 kB / 367 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1501, allocations: 0 / 367 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1504, allocations: 214.5 kB / 367.2 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1508, allocations: 39.05 kB / 367.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1532, allocations: 1.06 MB / 368.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1535, allocations: 0.756 MB / 369 MB, free: 2.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.1536, allocations: 19.44 kB / 369.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1536, allocations: 0 / 369.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of Templates: time 0.241/0.3946, allocations: 3.691 MB / 372.8 MB, free: 24.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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 OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.o] Error 1