Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008488, allocations: 92.45 kB / 16.95 MB, free: 5.605 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.0008692/0.0008693, allocations: 184.5 kB / 17.85 MB, free: 5.277 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.428/1.428, allocations: 223.3 MB / 241.9 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.000297, allocations: 12 kB / 301.5 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 50.41 MB / 351.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002296/0.117, allocations: 1.57 MB / 353.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1187, allocations: 1.061 MB / 354.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1189, allocations: 4 kB / 354.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1192, allocations: 59.8 kB / 354.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1194, allocations: 71.72 kB / 354.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.1202, allocations: 233.5 kB / 354.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1204, allocations: 151.5 kB / 355 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1205, allocations: 33.47 kB / 355 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.1206, allocations: 59.66 kB / 355.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1207, allocations: 71.69 kB / 355.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1208, allocations: 0 / 355.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1209, allocations: 47.95 kB / 355.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.121, allocations: 47.84 kB / 355.3 MB, free: 368 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.121, allocations: 57.56 kB / 355.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1213, allocations: 175.9 kB / 355.5 MB, free: 128 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1213, allocations: 0 / 355.5 MB, free: 128 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1213, allocations: 0 / 355.5 MB, free: 128 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1213, allocations: 0 / 355.5 MB, free: 128 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.0007097/0.122, allocations: 0.5076 MB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1221, allocations: 8.031 kB / 356 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.1221, allocations: 23.72 kB / 356 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1225, allocations: 278.5 kB / 356.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1225, allocations: 4 kB / 356.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1225, allocations: 8 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1229, allocations: 171.6 kB / 356.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1229, allocations: 3.984 kB / 356.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1229, allocations: 15.88 kB / 356.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1229, allocations: 4 kB / 356.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.123, allocations: 35.92 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.1236, allocations: 478.5 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1239, allocations: 138.5 kB / 357.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.124, allocations: 63.36 kB / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.124, allocations: 8 kB / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1242, allocations: 101 kB / 357.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.1242, allocations: 0 / 357.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003861/0.1246, allocations: 161.3 kB / 357.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1247, allocations: 183.9 kB / 357.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.1251, allocations: 335 kB / 358 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1251, allocations: 33.7 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.1252, allocations: 128.4 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1252, allocations: 27.8 kB / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.1253, allocations: 0 / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1254, allocations: 326.8 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.1255, allocations: 27.98 kB / 358.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1256, allocations: 103.6 kB / 358.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.1257, allocations: 31.98 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1257, allocations: 3.938 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.1259, allocations: 145.2 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1259, allocations: 10.5 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1259, allocations: 0 / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.126, allocations: 0 / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1261, allocations: 27.92 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1261, allocations: 0 / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.1262, allocations: 12.3 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1262, allocations: 4 kB / 358.8 MB, free: 12.41 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.0001327/0.1263, allocations: 161.9 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.1264, allocations: 81.3 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.1265, allocations: 25.7 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1265, allocations: 4 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1265, allocations: 0 / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1265, allocations: 0 / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1267, allocations: 245.5 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1267, allocations: 0 / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.1268, allocations: 15.94 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1268, allocations: 12.05 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1268, allocations: 3.953 kB / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1269, allocations: 4 kB / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1269, allocations: 0 / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1271, allocations: 179.4 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1272, allocations: 116.8 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1273, allocations: 11.88 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1273, allocations: 11.94 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1274, allocations: 8 kB / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1274, allocations: 7.984 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1277, allocations: 241.9 kB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1277, allocations: 0 / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1279, allocations: 39.89 kB / 360 MB, free: 11.16 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.0009278/0.1289, allocations: 429 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1291, allocations: 83.83 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1291, allocations: 0 / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.1292, allocations: 31.98 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1296, allocations: 64.92 kB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.1302, allocations: 450.9 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1305, allocations: 0.7478 MB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.1306, allocations: 27.42 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1306, allocations: 0 / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of Templates: time 0.005208/0.1358, allocations: 2.953 MB / 364.7 MB, free: 6.492 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.o] Error 1