Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008408/0.0008409, allocations: 93.55 kB / 17.64 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.0009023/0.0009024, allocations: 201.6 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.64/1.64, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003645, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002836/0.1538, allocations: 1.596 MB / 360.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1559, allocations: 1.15 MB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1561, allocations: 7.938 kB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.1568, allocations: 135.7 kB / 361.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1572, allocations: 131.5 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1577, allocations: 171.4 kB / 362 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.158, allocations: 179.4 kB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1582, allocations: 41.58 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1583, allocations: 75.62 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1584, allocations: 67.62 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.1584, allocations: 7.938 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1586, allocations: 43.98 kB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.1587, allocations: 31.84 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1588, allocations: 53.58 kB / 362.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.159, allocations: 163.9 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.159, allocations: 0 / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.159, allocations: 4 kB / 362.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.159, allocations: 0 / 362.6 MB, free: 10.28 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007994/0.1598, allocations: 0.4923 MB / 363.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1599, allocations: 12.03 kB / 363.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.16, allocations: 19.72 kB / 363.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1604, allocations: 269.5 kB / 363.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1604, allocations: 8 kB / 363.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1604, allocations: 7.953 kB / 363.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1608, allocations: 181.9 kB / 363.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1608, allocations: 0 / 363.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1609, allocations: 0 / 363.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1609, allocations: 0 / 363.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.161, allocations: 43.92 kB / 363.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.1616, allocations: 375.2 kB / 364 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1618, allocations: 130.5 kB / 364.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.1619, allocations: 59.36 kB / 364.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.162, allocations: 7.984 kB / 364.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1621, allocations: 71.39 kB / 364.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1622, allocations: 0 / 364.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004038/0.1626, allocations: 157.7 kB / 364.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.1627, allocations: 174.1 kB / 364.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.163, allocations: 274.5 kB / 364.9 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1631, allocations: 29.7 kB / 364.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1632, allocations: 120.4 kB / 365 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1632, allocations: 15.81 kB / 365 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1632, allocations: 4 kB / 365 MB, free: 7.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1634, allocations: 338.8 kB / 365.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.1634, allocations: 20 kB / 365.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1636, allocations: 79.7 kB / 365.5 MB, free: 7.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.1636, allocations: 35.97 kB / 365.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1636, allocations: 0 / 365.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002264/0.1639, allocations: 125.4 kB / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1639, allocations: 7.938 kB / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1639, allocations: 3.984 kB / 365.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.164, allocations: 8.172 kB / 365.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.164, allocations: 27.88 kB / 365.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1641, allocations: 0 / 365.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.1641, allocations: 19.83 kB / 365.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1642, allocations: 4 kB / 365.7 MB, free: 6.863 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001622/0.1643, allocations: 145.8 kB / 365.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.1644, allocations: 69.45 kB / 365.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.1645, allocations: 33.78 kB / 365.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1645, allocations: 0 / 365.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1645, allocations: 4 kB / 365.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1645, allocations: 7.922 kB / 366 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1648, allocations: 241.5 kB / 366.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1648, allocations: 0 / 366.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.1648, allocations: 8 kB / 366.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1648, allocations: 0 / 366.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1648, allocations: 4 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1649, allocations: 320 / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1649, allocations: 0 / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1651, allocations: 183.3 kB / 366.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1653, allocations: 120.8 kB / 366.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1653, allocations: 4 kB / 366.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.1654, allocations: 8 kB / 366.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1654, allocations: 11.98 kB / 366.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1655, allocations: 4 kB / 366.5 MB, free: 5.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.1657, allocations: 202 kB / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1657, allocations: 0 / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.166, allocations: 31.98 kB / 366.8 MB, free: 5.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001114/0.1671, allocations: 423 kB / 367.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1673, allocations: 83.78 kB / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1674, allocations: 0 / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.1675, allocations: 23.98 kB / 367.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1679, allocations: 73.53 kB / 367.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.1687, allocations: 403.4 kB / 367.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1691, allocations: 0.7361 MB / 368.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1692, allocations: 23.42 kB / 368.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1692, allocations: 0 / 368.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of Templates: time 0.005781/0.175, allocations: 2.816 MB / 371.3 MB, free: 1.23 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.o] Error 1