Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008239/0.0008243, allocations: 89.19 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.001121/0.001121, allocations: 202.3 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.486/1.486, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.000235, allocations: 4 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002309/0.1167, allocations: 1.592 MB / 360.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1188, allocations: 1.221 MB / 361.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1189, allocations: 4 kB / 361.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1192, allocations: 55.73 kB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1195, allocations: 111.6 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.1201, allocations: 215.3 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1204, allocations: 163.5 kB / 362.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1205, allocations: 29.53 kB / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.1206, allocations: 63.64 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.1207, allocations: 71.69 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1207, allocations: 0 / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1208, allocations: 47.97 kB / 362.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.1209, allocations: 43.83 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.121, allocations: 61.58 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1212, allocations: 183.8 kB / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1212, allocations: 0 / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1212, allocations: 0 / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1212, allocations: 4 kB / 362.6 MB, free: 10.25 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.0006234/0.1219, allocations: 0.5077 MB / 363.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1219, allocations: 12.03 kB / 363.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.122, allocations: 27.62 kB / 363.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1223, allocations: 270.5 kB / 363.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1223, allocations: 8 kB / 363.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1223, allocations: 15.94 kB / 363.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1227, allocations: 180.3 kB / 363.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1227, allocations: 0 / 363.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1227, allocations: 4 kB / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1227, allocations: 4 kB / 363.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1228, allocations: 39.92 kB / 363.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.1234, allocations: 478.5 kB / 364.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1236, allocations: 142.5 kB / 364.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.1237, allocations: 55.42 kB / 364.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1238, allocations: 8 kB / 364.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.124, allocations: 93.03 kB / 364.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.124, allocations: 0 / 364.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003813/0.1244, allocations: 169.5 kB / 364.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.1245, allocations: 191.9 kB / 364.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1248, allocations: 338.9 kB / 365.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1249, allocations: 25.7 kB / 365.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.125, allocations: 132.4 kB / 365.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.125, allocations: 27.62 kB / 365.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.125, allocations: 0 / 365.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1251, allocations: 346.8 kB / 365.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.1252, allocations: 23.98 kB / 365.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1253, allocations: 95.64 kB / 365.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.1254, allocations: 36 kB / 365.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1254, allocations: 0 / 365.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002419/0.1257, allocations: 137.2 kB / 365.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1257, allocations: 8 kB / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1257, allocations: 0 / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1257, allocations: 4.156 kB / 366 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1259, allocations: 27.92 kB / 366 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1259, allocations: 4 kB / 366 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.126, allocations: 8 kB / 366 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.126, allocations: 7.984 kB / 366 MB, free: 6.508 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.0001333/0.1261, allocations: 158 kB / 366.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.1262, allocations: 69.41 kB / 366.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.1263, allocations: 33.72 kB / 366.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1263, allocations: 4.062 kB / 366.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1263, allocations: 8 kB / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1263, allocations: 0 / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1265, allocations: 261.4 kB / 366.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1266, allocations: 0 / 366.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.1266, allocations: 19.92 kB / 366.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1266, allocations: 0 / 366.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1267, allocations: 4 kB / 366.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1267, allocations: 0 / 366.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1267, allocations: 4 kB / 366.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.127, allocations: 187.2 kB / 366.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1271, allocations: 116.8 kB / 366.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1271, allocations: 8 kB / 366.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1272, allocations: 7.984 kB / 366.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1272, allocations: 15.98 kB / 366.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1273, allocations: 4 kB / 366.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.1275, allocations: 245.9 kB / 367.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1275, allocations: 0 / 367.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1278, allocations: 36 kB / 367.2 MB, free: 5.242 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.0009388/0.1287, allocations: 432.5 kB / 367.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.129, allocations: 87.84 kB / 367.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.129, allocations: 0 / 367.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.1291, allocations: 27.98 kB / 367.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1295, allocations: 69.86 kB / 367.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.1301, allocations: 456.4 kB / 368.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1304, allocations: 0.7478 MB / 369 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.1305, allocations: 19.44 kB / 369 MB, free: 3.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1305, allocations: 0 / 369 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Templates: time 0.004951/0.1354, allocations: 3.036 MB / 372 MB, free: 476 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.o] Error 1