Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001125, allocations: 91.17 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 191.8 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 4 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 51.5 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002081/0.1327, allocations: 1.34 MB / 360.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.1337, allocations: 0.5185 MB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.1338, allocations: 4 kB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.1339, allocations: 7.938 kB / 360.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.134, allocations: 19.91 kB / 360.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1344, allocations: 47.89 kB / 360.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1345, allocations: 55.78 kB / 360.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1346, allocations: 24.19 kB / 360.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1348, allocations: 27.92 kB / 360.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.1348, allocations: 27.84 kB / 360.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1349, allocations: 7.938 kB / 360.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.1349, allocations: 8 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.135, allocations: 11.97 kB / 360.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.135, allocations: 45.64 kB / 360.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1352, allocations: 43.91 kB / 361 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1352, allocations: 0 / 361 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1352, allocations: 0 / 361 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1352, allocations: 3.938 kB / 361 MB, free: 11.88 MB / 302.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.0006987/0.1359, allocations: 387.2 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.136, allocations: 16.03 kB / 361.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.1361, allocations: 23.75 kB / 361.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1364, allocations: 190.9 kB / 361.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1364, allocations: 7.953 kB / 361.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1364, allocations: 8 kB / 361.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.1368, allocations: 141 kB / 361.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1368, allocations: 0 / 361.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1368, allocations: 4 kB / 361.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1368, allocations: 4 kB / 361.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1369, allocations: 31.92 kB / 361.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1375, allocations: 317.6 kB / 362.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1377, allocations: 150.2 kB / 362.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.1378, allocations: 45.8 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1379, allocations: 0 / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.138, allocations: 67.33 kB / 362.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.138, allocations: 4 kB / 362.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003182/0.1383, allocations: 121.5 kB / 362.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.1384, allocations: 89 kB / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1386, allocations: 141.8 kB / 362.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1386, allocations: 29.7 kB / 362.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1387, allocations: 92.12 kB / 362.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1387, allocations: 15.81 kB / 362.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.1387, allocations: 4 kB / 362.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1388, allocations: 322.8 kB / 363.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.1389, allocations: 23.92 kB / 363.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.139, allocations: 61.14 kB / 363.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.915e-05/0.1391, allocations: 35.92 kB / 363.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1391, allocations: 0 / 363.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001969/0.1393, allocations: 117.8 kB / 363.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1393, allocations: 8 kB / 363.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1393, allocations: 0 / 363.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1394, allocations: 4.062 kB / 363.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.1394, allocations: 15.98 kB / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1395, allocations: 4 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.1395, allocations: 11.95 kB / 363.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1395, allocations: 4 kB / 363.4 MB, free: 9.145 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 0.0001159/0.1397, allocations: 131.2 kB / 363.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.1397, allocations: 61.62 kB / 363.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1398, allocations: 12.31 kB / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1398, allocations: 0 / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1398, allocations: 3.938 kB / 363.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1398, allocations: 0 / 363.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.1402, allocations: 354.3 kB / 364 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1402, allocations: 0 / 364 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1403, allocations: 15.98 kB / 364 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1403, allocations: 0 / 364 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1403, allocations: 8 kB / 364 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1403, allocations: 0 / 364 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1403, allocations: 3.953 kB / 364 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1405, allocations: 204.2 kB / 364.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1406, allocations: 97 kB / 364.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1407, allocations: 0 / 364.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1407, allocations: 8 kB / 364.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1408, allocations: 3.984 kB / 364.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1408, allocations: 7.953 kB / 364.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.185e-05/0.1409, allocations: 113.8 kB / 364.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1409, allocations: 3.938 kB / 364.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1411, allocations: 16 kB / 364.5 MB, free: 8.012 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.0001397/0.1413, allocations: 103.2 kB / 364.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1415, allocations: 63.91 kB / 364.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1415, allocations: 0 / 364.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.1415, allocations: 28 kB / 364.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1419, allocations: 28.55 kB / 364.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.1425, allocations: 259.5 kB / 364.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1429, allocations: 0.7082 MB / 365.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1429, allocations: 11.44 kB / 365.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1429, allocations: 0 / 365.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002731/0.1456, allocations: 1.043 MB / 366.7 MB, free: 5.707 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHoldCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHoldCalcHelperMain.o] Error 1