Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.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.TickBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008913, allocations: 88.67 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008541/0.0008542, allocations: 198.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 246.6 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002437, allocations: 8 kB / 307.3 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 51.48 MB / 358.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine): time 0.002066/0.1153, allocations: 1.297 MB / 360.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1164, allocations: 479.1 kB / 360.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.1165, allocations: 0 / 360.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.1166, allocations: 3.984 kB / 360.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1168, allocations: 15.88 kB / 360.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.117, allocations: 27.97 kB / 360.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1172, allocations: 59.78 kB / 360.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1173, allocations: 19.97 kB / 360.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1174, allocations: 31.91 kB / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.1175, allocations: 27.84 kB / 360.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1176, allocations: 4 kB / 360.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.1176, allocations: 7.984 kB / 360.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.1176, allocations: 15.92 kB / 360.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.1177, allocations: 33.7 kB / 360.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1178, allocations: 39.91 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1179, allocations: 8 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1179, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1179, allocations: 0 / 360.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006208/0.1185, allocations: 363.2 kB / 361.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1185, allocations: 8.031 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.1188, allocations: 23.89 kB / 361.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.119, allocations: 186.9 kB / 361.4 MB, free: 11.22 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: sine.startOutput = previous(sine.counter) >= sine.startTick - 1 to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1191, allocations: 45.12 kB / 361.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1192, allocations: 7.953 kB / 361.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1196, allocations: 160.9 kB / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1196, allocations: 0 / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1196, allocations: 8 kB / 361.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1196, allocations: 0 / 361.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1197, allocations: 39.97 kB / 361.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1199, allocations: 174.5 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1202, allocations: 178.3 kB / 362 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.1203, allocations: 37.7 kB / 362.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1204, allocations: 8 kB / 362.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1204, allocations: 38.5 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.1204, allocations: 4 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003182/0.1207, allocations: 117.5 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.1208, allocations: 89.05 kB / 362.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.1209, allocations: 125.3 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.121, allocations: 25.7 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.121, allocations: 88.27 kB / 362.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.121, allocations: 15.84 kB / 362.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1211, allocations: 0 / 362.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1212, allocations: 322.8 kB / 362.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.1212, allocations: 15.98 kB / 362.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1213, allocations: 65.94 kB / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.1214, allocations: 23.94 kB / 363 MB, free: 9.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1214, allocations: 4 kB / 363 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001763/0.1216, allocations: 105.4 kB / 363.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1216, allocations: 11.95 kB / 363.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1216, allocations: 0 / 363.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1217, allocations: 4 kB / 363.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.1217, allocations: 12.25 kB / 363.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.1218, allocations: 15.91 kB / 363.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1218, allocations: 12.22 kB / 363.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1218, allocations: 4 kB / 363.1 MB, free: 9.293 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sine.startOutput,$CLKPRE.sine.startOutput,sine.counter,$CLKPRE.sine.counter) * Number of discrete states: 0 () * Number of clocked states: 2 (sine.startOutput,sine.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001128/0.1219, allocations: 121.8 kB / 363.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1221, allocations: 69.59 kB / 363.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1221, allocations: 20.31 kB / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1221, allocations: 0 / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1221, allocations: 0 / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1221, allocations: 3.938 kB / 363.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1223, allocations: 173.6 kB / 363.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1223, allocations: 8.188 kB / 363.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.1224, allocations: 11.98 kB / 363.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1224, allocations: 3.938 kB / 363.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1224, allocations: 4 kB / 363.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1224, allocations: 3.953 kB / 363.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1224, allocations: 0 / 363.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1226, allocations: 129.9 kB / 363.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.1227, allocations: 89 kB / 363.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1228, allocations: 4 kB / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.1228, allocations: 4 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1229, allocations: 15.88 kB / 363.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1229, allocations: 0 / 363.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.422e-05/0.1229, allocations: 103.3 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.903e-06/0.123, allocations: 0 / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001997/0.1232, allocations: 15.94 kB / 363.9 MB, free: 8.422 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 (sine.counter,sine.startOutput) * Number of discrete states: 0 () * Number of clocked states: 2 (sine.counter,sine.startOutput) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001399/0.1233, allocations: 99.25 kB / 364 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1235, allocations: 55.91 kB / 364.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1235, allocations: 4 kB / 364.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.1236, allocations: 16.42 kB / 364.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.1242, allocations: 0.7103 MB / 364.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1246, allocations: 235 kB / 365 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1249, allocations: 0.6898 MB / 365.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.125, allocations: 15.42 kB / 365.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.125, allocations: 0 / 365.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of Templates: time 0.002462/0.1274, allocations: 0.9448 MB / 366.7 MB, free: 5.566 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.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.TickBasedSineCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSineCalcHelperMain.o] Error 1