Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008201, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.0007794/0.0007794, allocations: 179.2 kB / 17.84 MB, free: 6 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.403/1.403, allocations: 223.2 MB / 241.8 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002148/0.1162, allocations: 1.551 MB / 353.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1178, allocations: 1.057 MB / 354.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.118, allocations: 4 kB / 354.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1183, allocations: 55.8 kB / 354.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1185, allocations: 79.7 kB / 354.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.1192, allocations: 222.5 kB / 354.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1194, allocations: 151.5 kB / 355 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1195, allocations: 29.48 kB / 355 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.1196, allocations: 51.72 kB / 355.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.1197, allocations: 67.69 kB / 355.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1197, allocations: 4 kB / 355.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1199, allocations: 47.89 kB / 355.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1199, allocations: 39.91 kB / 355.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.12, allocations: 57.58 kB / 355.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1202, allocations: 175.9 kB / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1202, allocations: 0 / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1202, allocations: 0 / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1203, allocations: 0 / 355.4 MB, free: 412 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007034/0.121, allocations: 0.4999 MB / 355.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.121, allocations: 8.031 kB / 355.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.1211, allocations: 27.67 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1214, allocations: 270.6 kB / 356.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1214, allocations: 4 kB / 356.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1214, allocations: 8 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.1218, allocations: 155.5 kB / 356.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1218, allocations: 4 kB / 356.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1218, allocations: 0 / 356.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1219, allocations: 7.984 kB / 356.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.122, allocations: 43.91 kB / 356.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1225, allocations: 374.4 kB / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1227, allocations: 119.9 kB / 356.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.1228, allocations: 46.56 kB / 357 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1229, allocations: 4 kB / 357 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1231, allocations: 87.27 kB / 357.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1231, allocations: 0 / 357.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000366/0.1235, allocations: 153.3 kB / 357.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.1236, allocations: 162.4 kB / 357.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.1239, allocations: 330.6 kB / 357.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.124, allocations: 25.7 kB / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.1241, allocations: 136 kB / 357.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1241, allocations: 7.844 kB / 357.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.1241, allocations: 8 kB / 357.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1242, allocations: 330.8 kB / 358.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.1243, allocations: 23.98 kB / 358.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1244, allocations: 86.8 kB / 358.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.1245, allocations: 27.98 kB / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1245, allocations: 0 / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.1247, allocations: 137.2 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1247, allocations: 10.92 kB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1248, allocations: 0 / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1248, allocations: 4 kB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1249, allocations: 23.92 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1249, allocations: 0 / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.125, allocations: 4 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.125, allocations: 4 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001441/0.1252, allocations: 157.9 kB / 358.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.1252, allocations: 69.34 kB / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.1253, allocations: 29.67 kB / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1253, allocations: 0 / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1253, allocations: 0 / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1253, allocations: 7.984 kB / 358.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1255, allocations: 237.6 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1256, allocations: 4 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.1256, allocations: 16 kB / 359 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1256, allocations: 320 / 359 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1257, allocations: 7.984 kB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.1257, allocations: 7.953 kB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1257, allocations: 3.938 kB / 359 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1259, allocations: 162.5 kB / 359.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.126, allocations: 120.8 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1261, allocations: 8 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.1261, allocations: 0 / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1262, allocations: 11.94 kB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1262, allocations: 8 kB / 359.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.1264, allocations: 241.9 kB / 359.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 359.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1267, allocations: 32 kB / 359.6 MB, free: 11.79 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.0009833/0.1277, allocations: 428 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1279, allocations: 67.91 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1279, allocations: 0 / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.128, allocations: 35.86 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1284, allocations: 60.41 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.129, allocations: 426.4 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1293, allocations: 0.7439 MB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.1294, allocations: 19.42 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1294, allocations: 4 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Templates: time 0.004699/0.1341, allocations: 2.86 MB / 364.2 MB, free: 7.266 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleCalcHelperMain.o] Error 1