Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007703/0.0007703, allocations: 88.06 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009367/0.0009368, allocations: 203.6 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 4 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003532/0.1437, allocations: 1.526 MB / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1462, allocations: 1.096 MB / 361.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1463, allocations: 0 / 361.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.1471, allocations: 155.6 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.1475, allocations: 143.5 kB / 361.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1479, allocations: 139.3 kB / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1481, allocations: 191.4 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1483, allocations: 21.55 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1484, allocations: 75.62 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1485, allocations: 83.61 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1485, allocations: 8 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1487, allocations: 43.97 kB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.1488, allocations: 43.83 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1488, allocations: 61.58 kB / 362.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1491, allocations: 159.9 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1491, allocations: 3.938 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1491, allocations: 0 / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1491, allocations: 0 / 362.5 MB, free: 10.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007614/0.1499, allocations: 0.5112 MB / 363 MB, free: 9.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1499, allocations: 12.03 kB / 363 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.15, allocations: 19.72 kB / 363 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1503, allocations: 253.7 kB / 363.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1503, allocations: 8 kB / 363.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1504, allocations: 7.953 kB / 363.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1506, allocations: 117.9 kB / 363.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1506, allocations: 7.922 kB / 363.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1506, allocations: 0 / 363.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1506, allocations: 4 kB / 363.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1508, allocations: 51.95 kB / 363.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.1515, allocations: 0.6104 MB / 364.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1517, allocations: 127.9 kB / 364.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1518, allocations: 50.56 kB / 364.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1519, allocations: 7.938 kB / 364.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1521, allocations: 121.9 kB / 364.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.1521, allocations: 0 / 364.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004537/0.1526, allocations: 177.3 kB / 364.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.1527, allocations: 128.6 kB / 364.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.153, allocations: 304.9 kB / 365 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.153, allocations: 29.7 kB / 365 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.1531, allocations: 120.4 kB / 365.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.1531, allocations: 39.7 kB / 365.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1532, allocations: 0 / 365.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1533, allocations: 330.8 kB / 365.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1534, allocations: 31.98 kB / 365.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1535, allocations: 85.98 kB / 365.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.1536, allocations: 39.92 kB / 365.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1536, allocations: 0 / 365.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000249/0.1539, allocations: 141.9 kB / 365.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1539, allocations: 8 kB / 365.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1539, allocations: 128 / 365.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1539, allocations: 7.984 kB / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.154, allocations: 19.88 kB / 365.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.154, allocations: 4 kB / 365.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1542, allocations: 24.08 kB / 365.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1542, allocations: 4 kB / 365.9 MB, free: 6.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.1543, allocations: 145.7 kB / 366 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1543, allocations: 23.72 kB / 366 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.1544, allocations: 25.7 kB / 366.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1544, allocations: 0 / 366.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1544, allocations: 4 kB / 366.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1544, allocations: 3.938 kB / 366.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1547, allocations: 257.3 kB / 366.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1547, allocations: 4 kB / 366.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.1547, allocations: 7.984 kB / 366.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1547, allocations: 0 / 366.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1547, allocations: 4 kB / 366.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1548, allocations: 0 / 366.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.1548, allocations: 4 kB / 366.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.155, allocations: 178.5 kB / 366.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.1551, allocations: 108.8 kB / 366.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1552, allocations: 4 kB / 366.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.1553, allocations: 15.98 kB / 366.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.1553, allocations: 11.98 kB / 366.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1554, allocations: 7.984 kB / 366.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.1556, allocations: 220.5 kB / 366.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.1556, allocations: 0 / 366.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1558, allocations: 39.94 kB / 366.9 MB, free: 5.551 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0009477/0.1568, allocations: 419 kB / 367.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1571, allocations: 91.84 kB / 367.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1571, allocations: 4.188 kB / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1572, allocations: 55.91 kB / 367.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1576, allocations: 53.89 kB / 367.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.1582, allocations: 398 kB / 367.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1586, allocations: 0.7438 MB / 368.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.1586, allocations: 19.44 kB / 368.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1586, allocations: 0 / 368.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Templates: time 0.005233/0.1639, allocations: 2.908 MB / 371.6 MB, free: 0.9648 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSourcesCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o] Error 1