Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.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.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009559/0.000956, allocations: 95.27 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003489, allocations: 4 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002505/0.1311, allocations: 1.506 MB / 360.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1325, allocations: 0.6392 MB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1327, allocations: 4 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.1328, allocations: 19.8 kB / 360.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.133, allocations: 23.78 kB / 361 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1334, allocations: 67.86 kB / 361 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1337, allocations: 159.2 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1339, allocations: 62.33 kB / 361.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1341, allocations: 59.7 kB / 361.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1343, allocations: 71.69 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1343, allocations: 4 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1344, allocations: 19.98 kB / 361.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1345, allocations: 31.84 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.1346, allocations: 53.58 kB / 361.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1348, allocations: 124 kB / 361.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1348, allocations: 4 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1348, allocations: 0 / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1348, allocations: 0 / 361.6 MB, free: 11.29 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009231/0.1358, allocations: 497.3 kB / 362.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1358, allocations: 8.031 kB / 362.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.136, allocations: 31.72 kB / 362.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1363, allocations: 234.6 kB / 362.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.1363, allocations: 20 kB / 362.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1364, allocations: 19.95 kB / 362.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.1368, allocations: 205.5 kB / 362.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1368, allocations: 0 / 362.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1369, allocations: 8 kB / 362.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1369, allocations: 11.86 kB / 362.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.1372, allocations: 143.8 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.1384, allocations: 0.8011 MB / 363.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.1391, allocations: 206.7 kB / 363.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1392, allocations: 68.81 kB / 363.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1393, allocations: 7.984 kB / 363.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.1396, allocations: 151.1 kB / 364 MB, free: 8.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.1396, allocations: 0 / 364 MB, free: 8.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005967/0.1402, allocations: 253.3 kB / 364.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.1403, allocations: 89.09 kB / 364.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1405, allocations: 218.8 kB / 364.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1406, allocations: 29.7 kB / 364.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1407, allocations: 148.2 kB / 364.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1407, allocations: 35.62 kB / 364.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.1407, allocations: 4 kB / 364.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1409, allocations: 334.8 kB / 365.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1411, allocations: 67.95 kB / 365.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1413, allocations: 137.6 kB / 365.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1415, allocations: 87.91 kB / 365.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1415, allocations: 0 / 365.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004799/0.142, allocations: 265.3 kB / 365.6 MB, free: 6.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.142, allocations: 6.812 kB / 365.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.142, allocations: 4 kB / 365.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1421, allocations: 4 kB / 365.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1423, allocations: 47.91 kB / 365.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1423, allocations: 4 kB / 365.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1425, allocations: 40.06 kB / 365.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1425, allocations: 12 kB / 365.7 MB, free: 6.883 MB / 302.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: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001635/0.1427, allocations: 144.6 kB / 365.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1427, allocations: 19.8 kB / 365.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.143, allocations: 138.9 kB / 366 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.143, allocations: 0 / 366 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.143, allocations: 4 kB / 366 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.143, allocations: 4 kB / 366 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.1437, allocations: 470.8 kB / 366.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.1437, allocations: 4 kB / 366.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1438, allocations: 24.02 kB / 366.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1438, allocations: 11.94 kB / 366.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1438, allocations: 3.984 kB / 366.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1439, allocations: 0 / 366.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1439, allocations: 4 kB / 366.6 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1443, allocations: 295.9 kB / 366.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1444, allocations: 96.86 kB / 366.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1444, allocations: 4 kB / 366.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1446, allocations: 27.91 kB / 367 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.1447, allocations: 19.97 kB / 367 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1447, allocations: 8 kB / 367 MB, free: 5.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1448, allocations: 152.4 kB / 367.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1448, allocations: 0 / 367.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1452, allocations: 36 kB / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001789/0.1454, allocations: 111.7 kB / 367.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.1458, allocations: 184.2 kB / 367.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1458, allocations: 3.953 kB / 367.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.146, allocations: 79.89 kB / 367.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1463, allocations: 27.94 kB / 367.6 MB, free: 4.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.1471, allocations: 433.3 kB / 368 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1475, allocations: 0.7286 MB / 368.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.1476, allocations: 31.42 kB / 368.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1476, allocations: 0 / 368.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of Templates: time 0.005058/0.1527, allocations: 2.4 MB / 371.2 MB, free: 1.297 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.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.Blocks.Examples.IntegerNetwork1CalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.o] Error 1