Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 87.69 kB / 17.58 MB, free: 6.219 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.0008524/0.0008524, allocations: 187 kB / 18.48 MB, free: 5.379 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.82/1.82, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004581/0.0004581, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004485/0.1166, allocations: 4.46 MB / 333.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009622/0.1263, allocations: 7.892 MB / 341.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.1269, allocations: 23.81 kB / 341.4 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.1277, allocations: 298.4 kB / 341.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1299, allocations: 0.6365 MB / 342.3 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1312, allocations: 434.1 kB / 342.7 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.1333, allocations: 1.56 MB / 344.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.1336, allocations: 139 kB / 344.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1339, allocations: 246.8 kB / 344.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.1343, allocations: 286.2 kB / 344.9 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.1343, allocations: 16 kB / 344.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1355, allocations: 0.5074 MB / 345.4 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.1355, allocations: 83.39 kB / 345.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1357, allocations: 209.1 kB / 345.7 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.1366, allocations: 0.8492 MB / 346.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1366, allocations: 0 / 346.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1366, allocations: 0 / 346.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1366, allocations: 0 / 346.6 MB, free: 2.402 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001506/0.1381, allocations: 1.159 MB / 347.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1382, allocations: 8.031 kB / 347.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1383, allocations: 110.7 kB / 347.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1396, allocations: 0.8129 MB / 348.7 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1396, allocations: 20.56 kB / 348.7 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.1397, allocations: 24 kB / 348.7 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.1402, allocations: 307.7 kB / 349 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1402, allocations: 0 / 349 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1402, allocations: 8 kB / 349 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1403, allocations: 12 kB / 349 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.1407, allocations: 234.1 kB / 349.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1423, allocations: 1.19 MB / 350.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1427, allocations: 202.6 kB / 350.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.143, allocations: 237.2 kB / 350.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00825/0.1513, allocations: 8.578 MB / 359.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1514, allocations: 30.56 kB / 359.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.1514, allocations: 0 / 359.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.00152/0.1529, allocations: 0.666 MB / 360.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.153, allocations: 81.11 kB / 360.2 MB, free: 3.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000916/0.1539, allocations: 0.7987 MB / 361 MB, free: 2.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1539, allocations: 25.7 kB / 361.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.1543, allocations: 440.6 kB / 361.5 MB, free: 1.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.1543, allocations: 82.84 kB / 361.6 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.1544, allocations: 7.938 kB / 361.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1545, allocations: 321.9 kB / 361.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1547, allocations: 64.47 kB / 362 MB, free: 1.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1549, allocations: 157.8 kB / 362.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1551, allocations: 88.64 kB / 362.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1551, allocations: 0 / 362.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005843/0.1557, allocations: 412.7 kB / 362.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1557, allocations: 4 kB / 362.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.1558, allocations: 20 kB / 362.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.1561, allocations: 137 kB / 362.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1563, allocations: 39.97 kB / 362.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006388/0.1569, allocations: 0.7151 MB / 363.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.1572, allocations: 31.81 kB / 363.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.1572, allocations: 15.98 kB / 363.6 MB, free: 15.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.1575, allocations: 205.7 kB / 363.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1576, allocations: 102.8 kB / 363.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.1584, allocations: 403.9 kB / 364.2 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1584, allocations: 4 kB / 364.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1584, allocations: 0 / 364.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1584, allocations: 7.969 kB / 364.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.159, allocations: 0.5073 MB / 364.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.159, allocations: 12 kB / 364.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1592, allocations: 23.91 kB / 364.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.1594, allocations: 132.8 kB / 364.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.1594, allocations: 11.94 kB / 364.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.16, allocations: 0.7046 MB / 365.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.16, allocations: 0 / 365.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.1606, allocations: 460.3 kB / 366.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.1607, allocations: 171.9 kB / 366.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.1608, allocations: 0 / 366.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.161, allocations: 11.98 kB / 366.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.1611, allocations: 11.98 kB / 366.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1611, allocations: 16 kB / 366.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.1617, allocations: 0.5266 MB / 366.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 4 kB / 366.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006333/0.1624, allocations: 195.7 kB / 367 MB, free: 12.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005079/0.1629, allocations: 279.4 kB / 367.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.1635, allocations: 283.4 kB / 367.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1635, allocations: 0 / 367.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.1638, allocations: 183.3 kB / 367.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1644, allocations: 132.5 kB / 367.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1663, allocations: 1.42 MB / 369.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1668, allocations: 0.9413 MB / 370.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.1669, allocations: 55.42 kB / 370.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1669, allocations: 0 / 370.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of Templates: time 0.2252/0.3921, allocations: 14.25 MB / 384.6 MB, free: 54.37 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.Spice3.Examples.CascodeCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o] Error 1