Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008086, allocations: 93.23 kB / 16.95 MB, free: 5.582 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.0009035/0.0009035, allocations: 190.8 kB / 17.85 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 241.8 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 4 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002896/0.1375, allocations: 1.641 MB / 353.5 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1395, allocations: 1.034 MB / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1397, allocations: 7.938 kB / 354.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.1403, allocations: 139.6 kB / 354.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1406, allocations: 91.69 kB / 354.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.1412, allocations: 210.5 kB / 355 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1415, allocations: 203.4 kB / 355.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1416, allocations: 36.27 kB / 355.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1418, allocations: 79.64 kB / 355.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1419, allocations: 83.61 kB / 355.4 MB, free: 492 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.142, allocations: 4 kB / 355.4 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1421, allocations: 47.95 kB / 355.4 MB, free: 440 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.1422, allocations: 43.78 kB / 355.5 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.1422, allocations: 53.64 kB / 355.5 MB, free: 336 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1425, allocations: 179.8 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1425, allocations: 3.938 kB / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1425, allocations: 0 / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1425, allocations: 0 / 355.7 MB, free: 152 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008945/0.1434, allocations: 0.5195 MB / 356.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1435, allocations: 8.031 kB / 356.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.1436, allocations: 27.67 kB / 356.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.144, allocations: 261.7 kB / 356.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.144, allocations: 16 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.144, allocations: 8 kB / 356.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.1447, allocations: 298.9 kB / 356.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1447, allocations: 4 kB / 356.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1447, allocations: 7.953 kB / 356.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1447, allocations: 4 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1449, allocations: 59.91 kB / 356.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.1455, allocations: 386.3 kB / 357.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.1459, allocations: 176 kB / 357.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1461, allocations: 94.41 kB / 357.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.1461, allocations: 8 kB / 357.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1463, allocations: 71.39 kB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.1463, allocations: 3.938 kB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004893/0.1468, allocations: 217.2 kB / 357.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.1469, allocations: 148.5 kB / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1473, allocations: 276.9 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1473, allocations: 25.7 kB / 358.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1474, allocations: 120.7 kB / 358.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1475, allocations: 35.64 kB / 358.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.1475, allocations: 4 kB / 358.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1477, allocations: 334.8 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/0.1477, allocations: 36.45 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1479, allocations: 170.9 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1481, allocations: 59.97 kB / 359 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1481, allocations: 7.953 kB / 359 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003514/0.1484, allocations: 221.4 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1485, allocations: 4 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1485, allocations: 4 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1485, allocations: 8 kB / 359.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1486, allocations: 27.92 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.1486, allocations: 7.984 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1488, allocations: 12 kB / 359.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1488, allocations: 12 kB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001801/0.149, allocations: 168.7 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.1492, allocations: 129.3 kB / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.1492, allocations: 33.64 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1493, allocations: 4 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1493, allocations: 4 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1493, allocations: 0 / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.1495, allocations: 249.4 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1495, allocations: 4 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.1496, allocations: 11.94 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.1496, allocations: 8 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1496, allocations: 4.469 kB / 359.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1496, allocations: 4 kB / 359.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1496, allocations: 3.938 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.15, allocations: 225.3 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1502, allocations: 128.8 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.1502, allocations: 7.953 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.1503, allocations: 8 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1503, allocations: 3.984 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1504, allocations: 12 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.1506, allocations: 192.5 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 0 / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1509, allocations: 44 kB / 360.5 MB, free: 10.85 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001083/0.152, allocations: 426.3 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1523, allocations: 139.7 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1523, allocations: 1.062 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.1524, allocations: 27.92 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.1529, allocations: 117.3 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.1537, allocations: 465.8 kB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.1542, allocations: 0.756 MB / 362.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.1542, allocations: 31.42 kB / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1542, allocations: 0 / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of Templates: time 0.005733/0.16, allocations: 3.187 MB / 365.7 MB, free: 5.832 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.o] Error 1