Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 90.73 kB / 16.95 MB, free: 5.617 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.001347/0.001348, allocations: 184.9 kB / 17.85 MB, free: 5.289 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.37/1.37, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 4 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002201/0.1164, allocations: 1.198 MB / 353.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.1169, allocations: 140.3 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.117, allocations: 0 / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.117, allocations: 0 / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1172, allocations: 19.92 kB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1174, allocations: 27.91 kB / 353.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.1175, allocations: 23.92 kB / 353.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.1177, allocations: 7.984 kB / 353.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.1177, allocations: 11.94 kB / 353.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.1178, allocations: 11.92 kB / 353.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1178, allocations: 3.938 kB / 353.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.1178, allocations: 4 kB / 353.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1179, allocations: 7.984 kB / 353.3 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.1179, allocations: 37.64 kB / 353.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.118, allocations: 27.95 kB / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.118, allocations: 0 / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.118, allocations: 0 / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.118, allocations: 0 / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004794/0.1185, allocations: 355.4 kB / 353.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1186, allocations: 12.03 kB / 353.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1186, allocations: 11.86 kB / 353.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1188, allocations: 198.3 kB / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1189, allocations: 0 / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1189, allocations: 0 / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1192, allocations: 93.09 kB / 354 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1192, allocations: 3.938 kB / 354 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1192, allocations: 0 / 354 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1192, allocations: 4 kB / 354 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.1193, allocations: 23.94 kB / 354.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.1196, allocations: 249.8 kB / 354.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.1197, allocations: 53.14 kB / 354.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1198, allocations: 21.78 kB / 354.4 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1198, allocations: 0 / 354.4 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1198, allocations: 34.56 kB / 354.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.1199, allocations: 0 / 354.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.1201, allocations: 77.47 kB / 354.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1202, allocations: 81.05 kB / 354.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1203, allocations: 134.1 kB / 354.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1203, allocations: 25.7 kB / 354.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.1204, allocations: 88.38 kB / 354.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.1204, allocations: 4 kB / 354.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1204, allocations: 4 kB / 354.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1205, allocations: 318.8 kB / 355.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.1206, allocations: 4 kB / 355.1 MB, free: 500 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1206, allocations: 21.7 kB / 355.2 MB, free: 472 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.1206, allocations: 12.06 kB / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1207, allocations: 0 / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1208, allocations: 65.52 kB / 355.2 MB, free: 388 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1208, allocations: 4 kB / 355.2 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1208, allocations: 0 / 355.2 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1208, allocations: 3.953 kB / 355.2 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1209, allocations: 12.06 kB / 355.3 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1209, allocations: 3.938 kB / 355.3 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.121, allocations: 4 kB / 355.3 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.121, allocations: 0 / 355.3 MB, free: 360 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.773e-05/0.1211, allocations: 117.8 kB / 355.4 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1211, allocations: 41.55 kB / 355.4 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.1212, allocations: 15.86 kB / 355.4 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1212, allocations: 3.984 kB / 355.4 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1212, allocations: 4 kB / 355.4 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1212, allocations: 0 / 355.4 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1214, allocations: 165.7 kB / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1214, allocations: 0 / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.1214, allocations: 11.98 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1214, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1214, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1215, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1215, allocations: 7.953 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1216, allocations: 160.3 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.1217, allocations: 96.98 kB / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1218, allocations: 0 / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.1218, allocations: 7.984 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1219, allocations: 32 / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1219, allocations: 7.953 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.1219, allocations: 107.2 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1219, allocations: 0 / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1222, allocations: 4 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001117/0.1223, allocations: 99.23 kB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1224, allocations: 31.98 kB / 356.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1224, allocations: 0 / 356.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.1225, allocations: 11.94 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1228, allocations: 21.77 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.1231, allocations: 174.7 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1234, allocations: 0.6926 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.1234, allocations: 11.44 kB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1234, allocations: 0 / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Templates: time 0.001781/0.1252, allocations: 0.617 MB / 357.6 MB, free: 13.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClockedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClockedCalcHelperMain.o] Error 1