Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009928, allocations: 92.88 kB / 16.95 MB, free: 5.953 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.001204/0.001204, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.357/1.357, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 301.5 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 50.42 MB / 351.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002406/0.1152, allocations: 1.562 MB / 353.4 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.117, allocations: 0.9906 MB / 354.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1172, allocations: 4 kB / 354.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.1178, allocations: 131.6 kB / 354.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.118, allocations: 99.62 kB / 354.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.1185, allocations: 170.9 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1188, allocations: 179.4 kB / 355 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1189, allocations: 25.55 kB / 355 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.119, allocations: 63.69 kB / 355.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1192, allocations: 75.62 kB / 355.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1192, allocations: 4 kB / 355.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1193, allocations: 35.98 kB / 355.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.1194, allocations: 39.83 kB / 355.2 MB, free: 428 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.1195, allocations: 53.64 kB / 355.3 MB, free: 368 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1197, allocations: 151.9 kB / 355.4 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1197, allocations: 0 / 355.4 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1197, allocations: 3.938 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1197, allocations: 0 / 355.4 MB, free: 212 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007789/0.1205, allocations: 0.4883 MB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1205, allocations: 12.03 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.1206, allocations: 15.81 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1209, allocations: 257.6 kB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.121, allocations: 7.938 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.121, allocations: 8 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1213, allocations: 171 kB / 356.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1214, allocations: 0 / 356.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1214, allocations: 7.953 kB / 356.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1214, allocations: 4 kB / 356.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.1215, allocations: 31.92 kB / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.1221, allocations: 458.5 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1223, allocations: 130.5 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.1224, allocations: 59.38 kB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1224, allocations: 3.984 kB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1226, allocations: 93.05 kB / 357.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.1226, allocations: 0 / 357.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003719/0.123, allocations: 157.3 kB / 357.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1231, allocations: 162.6 kB / 357.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1234, allocations: 265 kB / 357.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1234, allocations: 25.7 kB / 357.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1235, allocations: 120.3 kB / 357.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1236, allocations: 23.86 kB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1236, allocations: 4 kB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1237, allocations: 326.8 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.1238, allocations: 23.98 kB / 358.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1239, allocations: 82.05 kB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.124, allocations: 36.23 kB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.124, allocations: 3.969 kB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002391/0.1242, allocations: 133.3 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1243, allocations: 4 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1243, allocations: 4 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1243, allocations: 0 / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.1244, allocations: 15.94 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.1244, allocations: 7.984 kB / 358.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.1245, allocations: 12 kB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1245, allocations: 12 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,hold1.u,hold1.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.0001364/0.1247, allocations: 137.8 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.1248, allocations: 73.39 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.1248, allocations: 25.7 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1248, allocations: 0 / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1248, allocations: 7.938 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1248, allocations: 0 / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1251, allocations: 221.7 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1251, allocations: 4 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1251, allocations: 15.92 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1251, allocations: 0 / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1251, allocations: 7.953 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1251, allocations: 3.984 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1252, allocations: 4 kB / 359 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1254, allocations: 171.4 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1255, allocations: 112.8 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1256, allocations: 8 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.1256, allocations: 7.953 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1257, allocations: 7.984 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1257, allocations: 12.06 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1259, allocations: 192.5 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.1259, allocations: 4 kB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1262, allocations: 31.94 kB / 359.6 MB, free: 11.61 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,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.000965/0.1271, allocations: 422.5 kB / 360 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1274, allocations: 71.84 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1274, allocations: 320 / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.1274, allocations: 32 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1278, allocations: 67.36 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.1284, allocations: 390.6 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1288, allocations: 0.7361 MB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1288, allocations: 23.42 kB / 361.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1288, allocations: 4 kB / 361.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of Templates: time 0.004934/0.1338, allocations: 2.655 MB / 364 MB, free: 7.324 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.HoldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.o] Error 1