Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008102/0.0008101, allocations: 95.47 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009233/0.0009233, allocations: 195 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.118, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001811/0.1199, allocations: 1.212 MB / 360 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.1203, allocations: 155.5 kB / 360.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1205, allocations: 4 kB / 360.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.1205, allocations: 7.875 kB / 360.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1207, allocations: 7.828 kB / 360.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1211, allocations: 31.91 kB / 360.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.1212, allocations: 27.92 kB / 360.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1213, allocations: 15.97 kB / 360.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.1213, allocations: 7.938 kB / 360.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.1214, allocations: 11.92 kB / 360.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1214, allocations: 0 / 360.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.1214, allocations: 11.94 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1215, allocations: 8 kB / 360.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1215, allocations: 33.64 kB / 360.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.728e-05/0.1216, allocations: 31.92 kB / 360.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1216, allocations: 4 kB / 360.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1216, allocations: 0 / 360.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1216, allocations: 0 / 360.4 MB, free: 12.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000457/0.1221, allocations: 355.4 kB / 360.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1221, allocations: 12.03 kB / 360.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1222, allocations: 7.906 kB / 360.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1224, allocations: 182.9 kB / 360.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1224, allocations: 11.92 kB / 360.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1224, allocations: 7.953 kB / 360.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1227, allocations: 117 kB / 361 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1228, allocations: 3.984 kB / 361 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1228, allocations: 0 / 361 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1228, allocations: 7.938 kB / 361 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1229, allocations: 19.98 kB / 361.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1232, allocations: 265.6 kB / 361.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1234, allocations: 142.3 kB / 361.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.1235, allocations: 29.72 kB / 361.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1236, allocations: 7.984 kB / 361.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1236, allocations: 30.56 kB / 361.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1236, allocations: 0 / 361.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002599/0.1239, allocations: 77.61 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.1239, allocations: 85.23 kB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1241, allocations: 140.5 kB / 361.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1241, allocations: 25.7 kB / 361.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.1242, allocations: 96.06 kB / 361.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1242, allocations: 0 / 361.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.1242, allocations: 0 / 361.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1244, allocations: 314.8 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.1244, allocations: 11.98 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.1245, allocations: 35.44 kB / 362.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.1245, allocations: 23.88 kB / 362.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1246, allocations: 0 / 362.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.1247, allocations: 65.62 kB / 362.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1247, allocations: 8 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1247, allocations: 3.984 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1247, allocations: 0 / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1248, allocations: 8 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1248, allocations: 7.984 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.1249, allocations: 15.97 kB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1249, allocations: 8 kB / 362.4 MB, free: 10.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001238/0.125, allocations: 125.7 kB / 362.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.1251, allocations: 41.7 kB / 362.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1251, allocations: 16.23 kB / 362.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1251, allocations: 0 / 362.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1251, allocations: 0 / 362.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1252, allocations: 4 kB / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1254, allocations: 169.5 kB / 362.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1254, allocations: 3.953 kB / 362.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.1254, allocations: 12 kB / 362.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1254, allocations: 0 / 362.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1255, allocations: 3.984 kB / 362.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1255, allocations: 4 kB / 362.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1255, allocations: 3.938 kB / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1257, allocations: 168.7 kB / 363 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1258, allocations: 92.95 kB / 363.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1258, allocations: 7.984 kB / 363.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-05/0.1259, allocations: 4 kB / 363.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.126, allocations: 4 kB / 363.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.126, allocations: 0 / 363.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1261, allocations: 103.3 kB / 363.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1261, allocations: 0 / 363.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1263, allocations: 4 kB / 363.2 MB, free: 9.309 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000118/0.1264, allocations: 103.2 kB / 363.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1266, allocations: 31.92 kB / 363.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1266, allocations: 0 / 363.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.1266, allocations: 8.25 kB / 363.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.127, allocations: 35.95 kB / 363.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.1274, allocations: 195.1 kB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1278, allocations: 0.6887 MB / 364.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1278, allocations: 11.44 kB / 364.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1278, allocations: 0 / 364.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of Templates: time 0.002343/0.1302, allocations: 0.6816 MB / 364.9 MB, free: 7.488 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1CalcHelperMain.o] Error 1