Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009415, allocations: 91.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.001096/0.001096, allocations: 177.6 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.387/1.387, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 11.94 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001823/0.1108, allocations: 1.19 MB / 353.1 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.1112, allocations: 144.3 kB / 353.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.1113, allocations: 4 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.1113, allocations: 7.922 kB / 353.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1114, allocations: 0 / 353.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1117, allocations: 31.91 kB / 353.2 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.1118, allocations: 19.92 kB / 353.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1119, allocations: 8 kB / 353.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.1119, allocations: 11.92 kB / 353.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.1119, allocations: 15.92 kB / 353.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.112, allocations: 7.938 kB / 353.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.112, allocations: 4 kB / 353.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.112, allocations: 7.938 kB / 353.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.1121, allocations: 33.69 kB / 353.3 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.1121, allocations: 19.97 kB / 353.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1122, allocations: 0 / 353.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1122, allocations: 0 / 353.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1122, allocations: 0 / 353.4 MB, free: 2.508 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.000431/0.1126, allocations: 351.4 kB / 353.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1127, allocations: 12.03 kB / 353.7 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1127, allocations: 11.86 kB / 353.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1129, allocations: 198.8 kB / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1129, allocations: 0 / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.113, allocations: 3.984 kB / 353.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1132, allocations: 89.06 kB / 354 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1132, allocations: 4 kB / 354 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1132, allocations: 0 / 354 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1133, allocations: 0 / 354 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.1133, allocations: 15.94 kB / 354 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.1137, allocations: 253.8 kB / 354.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.1137, allocations: 57.14 kB / 354.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.1138, allocations: 13.78 kB / 354.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1138, allocations: 0 / 354.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1138, allocations: 38.5 kB / 354.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1139, allocations: 3.938 kB / 354.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.1141, allocations: 61.55 kB / 354.5 MB, free: 1.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.1142, allocations: 93.03 kB / 354.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1143, allocations: 125.8 kB / 354.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1143, allocations: 25.7 kB / 354.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1144, allocations: 84.14 kB / 354.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.1144, allocations: 4.188 kB / 354.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.1144, allocations: 4 kB / 354.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1146, allocations: 318.8 kB / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.1146, allocations: 7.984 kB / 355.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.1147, allocations: 13.72 kB / 355.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.1147, allocations: 4 kB / 355.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1147, allocations: 4.062 kB / 355.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.691e-05/0.1148, allocations: 53.62 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1148, allocations: 4 kB / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1148, allocations: 0 / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1148, allocations: 7.953 kB / 355.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.1149, allocations: 0 / 355.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1149, allocations: 3.984 kB / 355.2 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.1149, allocations: 7.891 kB / 355.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1149, allocations: 4 kB / 355.2 MB, free: 420 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 (sample1.u,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.276e-05/0.115, allocations: 117.9 kB / 355.3 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.1151, allocations: 41.64 kB / 355.4 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.1151, allocations: 7.516 kB / 355.4 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1151, allocations: 0 / 355.4 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.1151, allocations: 7.953 kB / 355.4 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1151, allocations: 0 / 355.4 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1153, allocations: 161.7 kB / 355.5 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1153, allocations: 0 / 355.5 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-06/0.1154, allocations: 4.016 kB / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1154, allocations: 4 kB / 355.5 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1154, allocations: 4 kB / 355.5 MB, free: 0 / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1154, allocations: 0 / 355.5 MB, free: 0 / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1154, allocations: 0 / 355.5 MB, free: 0 / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1156, allocations: 160.2 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.1157, allocations: 97.03 kB / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1157, allocations: 7.938 kB / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.1157, allocations: 4 kB / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1158, allocations: 3.984 kB / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1158, allocations: 0 / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.1159, allocations: 118.4 kB / 355.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1159, allocations: 0 / 355.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1161, allocations: 4 kB / 355.9 MB, free: 15.58 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 (sample1.u,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.0001268/0.1162, allocations: 99.25 kB / 356 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1164, allocations: 16 kB / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1164, allocations: 0 / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.1164, allocations: 11.92 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1168, allocations: 15.97 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1171, allocations: 178.8 kB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1174, allocations: 0.6848 MB / 356.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1174, allocations: 7.438 kB / 356.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1174, allocations: 0 / 356.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.001849/0.1193, allocations: 0.5964 MB / 357.5 MB, free: 13.91 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClockedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClockedCalcHelperMain.o] Error 1