Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008141, allocations: 90.45 kB / 17.58 MB, free: 5.758 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.000785/0.0007852, allocations: 177.3 kB / 18.47 MB, free: 5.234 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.545/1.545, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004478/0.0004478, allocations: 11.44 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005305/0.1177, allocations: 4.585 MB / 333.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1207, allocations: 1.412 MB / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.1214, allocations: 23.88 kB / 335 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1218, allocations: 154.6 kB / 335.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.1223, allocations: 158.6 kB / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.123, allocations: 295.6 kB / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.124, allocations: 0.9895 MB / 336.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.1247, allocations: 350.2 kB / 336.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.1251, allocations: 314.5 kB / 337.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.1255, allocations: 357.9 kB / 337.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.1256, allocations: 43.94 kB / 337.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1258, allocations: 52 kB / 337.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1259, allocations: 151.2 kB / 337.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.1261, allocations: 201.1 kB / 338 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.1268, allocations: 0.7754 MB / 338.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.1268, allocations: 0 / 338.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1268, allocations: 7.938 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1269, allocations: 0 / 338.8 MB, free: 10.2 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001634/0.1285, allocations: 1.134 MB / 339.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1286, allocations: 11.97 kB / 340 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1287, allocations: 130.4 kB / 340.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.1296, allocations: 0.584 MB / 340.7 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.1297, allocations: 77.95 kB / 340.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1298, allocations: 96 kB / 340.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.1315, allocations: 1.023 MB / 341.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1315, allocations: 7.938 kB / 341.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.1316, allocations: 43.98 kB / 341.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.1316, allocations: 32 kB / 341.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1327, allocations: 0.5539 MB / 342.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.1376, allocations: 5.524 MB / 348 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.1382, allocations: 229 kB / 348.2 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.1385, allocations: 169.6 kB / 348.4 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.1387, allocations: 93.05 kB / 348.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1388, allocations: 38.5 kB / 348.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.1388, allocations: 0 / 348.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004048/0.1428, allocations: 1.761 MB / 350.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.143, allocations: 85.11 kB / 350.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008428/0.1438, allocations: 0.6333 MB / 351 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.1439, allocations: 29.7 kB / 351 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/0.1444, allocations: 0.5986 MB / 351.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.1446, allocations: 153.9 kB / 351.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.1446, allocations: 16 kB / 351.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1448, allocations: 386.7 kB / 352.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.1451, allocations: 161.9 kB / 352.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.1457, allocations: 0.4972 MB / 352.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.1462, allocations: 227 kB / 353.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.1462, allocations: 11.88 kB / 353.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001217/0.1474, allocations: 0.723 MB / 353.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1474, allocations: 8 kB / 353.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.1475, allocations: 12 kB / 353.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.1475, allocations: 20 kB / 353.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.1481, allocations: 208.1 kB / 354 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1482, allocations: 19.94 kB / 354.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.1485, allocations: 43.94 kB / 354.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.1486, allocations: 36 kB / 354.1 MB, free: 9.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.1489, allocations: 225.5 kB / 354.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.149, allocations: 79.05 kB / 354.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1492, allocations: 78.55 kB / 354.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1492, allocations: 8 kB / 354.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1492, allocations: 0 / 354.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1492, allocations: 3.984 kB / 354.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.1516, allocations: 1.352 MB / 355.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1516, allocations: 0 / 355.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.152, allocations: 116 kB / 356 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.1521, allocations: 4 kB / 356 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1521, allocations: 11.94 kB / 356 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1521, allocations: 4 kB / 356 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1521, allocations: 4 kB / 356 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.1531, allocations: 0.7281 MB / 356.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1532, allocations: 148.2 kB / 356.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.1533, allocations: 8 kB / 356.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1536, allocations: 27.98 kB / 356.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1537, allocations: 27.95 kB / 356.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1537, allocations: 12 kB / 357 MB, free: 7.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.1542, allocations: 427 kB / 357.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1542, allocations: 0 / 357.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006593/0.1548, allocations: 139.9 kB / 357.5 MB, free: 6.473 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.155, allocations: 111.1 kB / 357.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.1558, allocations: 446.9 kB / 358.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1558, allocations: 0 / 358.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.1561, allocations: 160.7 kB / 358.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1566, allocations: 75.25 kB / 358.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1595, allocations: 2.134 MB / 360.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.1601, allocations: 1.004 MB / 361.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.1603, allocations: 63.42 kB / 361.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1603, allocations: 4 kB / 361.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of Templates: time 0.01374/0.174, allocations: 9.049 MB / 370.5 MB, free: 9.344 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o] Error 1