Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008263/0.000826, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.0008099/0.0008099, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.412/1.412, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002878, allocations: 7.984 kB / 301.5 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001832/0.115, allocations: 1.319 MB / 353.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.1158, allocations: 0.4951 MB / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1159, allocations: 0 / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.116, allocations: 3.938 kB / 353.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1161, allocations: 19.92 kB / 353.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1164, allocations: 43.89 kB / 353.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1165, allocations: 51.86 kB / 353.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1167, allocations: 28.12 kB / 353.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.1167, allocations: 19.92 kB / 353.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.1168, allocations: 23.86 kB / 353.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1168, allocations: 4 kB / 353.9 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.1169, allocations: 4 kB / 353.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.1169, allocations: 19.92 kB / 353.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1169, allocations: 37.64 kB / 353.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.117, allocations: 47.89 kB / 354 MB, free: 1.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.117, allocations: 0 / 354 MB, free: 1.645 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1171, allocations: 0 / 354 MB, free: 1.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1171, allocations: 0 / 354 MB, free: 1.645 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004807/0.1175, allocations: 383.2 kB / 354.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1176, allocations: 8.031 kB / 354.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1176, allocations: 23.75 kB / 354.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1178, allocations: 201.2 kB / 354.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1179, allocations: 4 kB / 354.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1179, allocations: 4 kB / 354.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1182, allocations: 144.4 kB / 354.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1182, allocations: 3.953 kB / 354.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1182, allocations: 0 / 354.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1182, allocations: 4 kB / 354.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1184, allocations: 43.91 kB / 354.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1188, allocations: 301.7 kB / 355.1 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.119, allocations: 162.2 kB / 355.2 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.1191, allocations: 41.8 kB / 355.3 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1191, allocations: 4 kB / 355.3 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1193, allocations: 59.39 kB / 355.3 MB, free: 80 kB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1193, allocations: 0 / 355.3 MB, free: 80 kB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002981/0.1196, allocations: 125.5 kB / 355.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.1197, allocations: 89.02 kB / 355.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1198, allocations: 137.8 kB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1198, allocations: 33.64 kB / 355.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1199, allocations: 92.08 kB / 355.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1199, allocations: 19.8 kB / 355.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1199, allocations: 3.938 kB / 355.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.12, allocations: 322.8 kB / 356.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.1201, allocations: 28 kB / 356.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.1202, allocations: 61.12 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.1203, allocations: 28 kB / 356.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1203, allocations: 7.938 kB / 356.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001888/0.1205, allocations: 113.6 kB / 356.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1205, allocations: 10.81 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1205, allocations: 160 / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1205, allocations: 8 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1206, allocations: 23.91 kB / 356.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1206, allocations: 4 kB / 356.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.1207, allocations: 4 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1207, allocations: 4 kB / 356.4 MB, free: 14.91 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: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.575e-05/0.1208, allocations: 125.8 kB / 356.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.1209, allocations: 57.53 kB / 356.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.1209, allocations: 16.3 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.121, allocations: 4 kB / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.121, allocations: 0 / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.121, allocations: 0 / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1213, allocations: 358.7 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1213, allocations: 0 / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1214, allocations: 15.98 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1214, allocations: 4 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1214, allocations: 0 / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1214, allocations: 4 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1214, allocations: 0 / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1216, allocations: 204.2 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1217, allocations: 92.98 kB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1217, allocations: 12 kB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1218, allocations: 4 kB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1219, allocations: 3.984 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1219, allocations: 4 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.122, allocations: 110 kB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.122, allocations: 0 / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1222, allocations: 12 kB / 357.4 MB, free: 13.79 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: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001449/0.1223, allocations: 111.3 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1225, allocations: 71.84 kB / 357.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1226, allocations: 0 / 357.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.046e-05/0.1226, allocations: 23.98 kB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.123, allocations: 31.91 kB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.1234, allocations: 260 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1236, allocations: 0.6965 MB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1237, allocations: 23.44 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1237, allocations: 0 / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Templates: time 0.002682/0.1264, allocations: 1.022 MB / 359.7 MB, free: 11.49 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.RealSignals.AssignClockToTriggerHoldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHoldCalcHelperMain.o] Error 1