Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 89.03 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 12 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002456/0.1345, allocations: 1.787 MB / 360.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.1355, allocations: 0.5496 MB / 361.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.1356, allocations: 4 kB / 361.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1357, allocations: 23.83 kB / 361.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.1359, allocations: 43.62 kB / 361.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.136, allocations: 35.95 kB / 361.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.1363, allocations: 219 kB / 361.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1365, allocations: 65.81 kB / 361.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1366, allocations: 71.78 kB / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1367, allocations: 87.61 kB / 361.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1367, allocations: 8 kB / 361.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.1368, allocations: 12 kB / 361.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.1368, allocations: 27.91 kB / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1369, allocations: 61.58 kB / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1371, allocations: 175.8 kB / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1371, allocations: 0 / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1371, allocations: 0 / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1371, allocations: 4 kB / 362 MB, free: 10.71 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006957/0.1378, allocations: 473.4 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1378, allocations: 8.031 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1379, allocations: 23.81 kB / 362.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1382, allocations: 210.8 kB / 362.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1383, allocations: 8 kB / 362.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1383, allocations: 23.98 kB / 362.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.1387, allocations: 177.5 kB / 362.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1387, allocations: 0 / 362.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.1388, allocations: 15.94 kB / 362.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1388, allocations: 4 kB / 362.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1391, allocations: 155.8 kB / 363 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1403, allocations: 0.7663 MB / 363.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1407, allocations: 174.5 kB / 364 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1409, allocations: 96.77 kB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1409, allocations: 4 kB / 364.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1409, allocations: 38.5 kB / 364.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.141, allocations: 0 / 364.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004724/0.1414, allocations: 193.5 kB / 364.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1415, allocations: 59.41 kB / 364.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1416, allocations: 153.3 kB / 364.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1417, allocations: 33.69 kB / 364.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1418, allocations: 128.2 kB / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1418, allocations: 47.34 kB / 364.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.1418, allocations: 4 kB / 364.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.142, allocations: 326.8 kB / 365 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1421, allocations: 51.98 kB / 365.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1423, allocations: 77.67 kB / 365.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1424, allocations: 59.92 kB / 365.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1424, allocations: 4 kB / 365.2 MB, free: 7.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003277/0.1427, allocations: 181.4 kB / 365.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1428, allocations: 8 kB / 365.4 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1428, allocations: 3.938 kB / 365.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1428, allocations: 0 / 365.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.143, allocations: 47.91 kB / 365.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1431, allocations: 3.953 kB / 365.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.1432, allocations: 27.86 kB / 365.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1432, allocations: 4 kB / 365.5 MB, free: 6.941 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.0001181/0.1433, allocations: 133.8 kB / 365.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1433, allocations: 7.906 kB / 365.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.1434, allocations: 16.84 kB / 365.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1434, allocations: 0 / 365.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1434, allocations: 0 / 365.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1434, allocations: 7.953 kB / 365.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1437, allocations: 273.4 kB / 365.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1437, allocations: 0 / 365.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1439, allocations: 35.97 kB / 366 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1439, allocations: 4 kB / 366 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.144, allocations: 4 kB / 366 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.144, allocations: 4 kB / 366 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.144, allocations: 0 / 366 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1445, allocations: 321.5 kB / 366.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1445, allocations: 85.02 kB / 366.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1445, allocations: 0 / 366.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1447, allocations: 24.03 kB / 366.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1447, allocations: 7.984 kB / 366.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1448, allocations: 4 kB / 366.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.1448, allocations: 111.4 kB / 366.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1448, allocations: 0 / 366.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1451, allocations: 51.75 kB / 366.6 MB, free: 5.785 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.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 (13): * Single equations (assignments): 13 * 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.0001539/0.1453, allocations: 107.2 kB / 366.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1456, allocations: 135.9 kB / 366.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1456, allocations: 0 / 366.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1457, allocations: 67.91 kB / 366.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1461, allocations: 30.39 kB / 366.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1472, allocations: 0.6556 MB / 367.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1475, allocations: 0.7204 MB / 368.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.1476, allocations: 15.44 kB / 368.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1476, allocations: 0 / 368.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of Templates: time 0.004051/0.1517, allocations: 1.986 MB / 370.3 MB, free: 2.008 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.o] Error 1