Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008249/0.000825, allocations: 97.3 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009829/0.000983, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002501, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001946/0.1152, allocations: 1.389 MB / 360.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.1156, allocations: 171.5 kB / 360.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.1157, allocations: 7.938 kB / 360.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1158, allocations: 0 / 360.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1159, allocations: 7.922 kB / 360.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1161, allocations: 39.91 kB / 360.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1163, allocations: 47.84 kB / 360.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1164, allocations: 27.97 kB / 360.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.1164, allocations: 11.94 kB / 360.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.1165, allocations: 23.86 kB / 360.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1165, allocations: 3.984 kB / 360.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.1165, allocations: 4 kB / 360.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.1166, allocations: 11.92 kB / 360.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1166, allocations: 37.64 kB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.105e-05/0.1167, allocations: 47.86 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1167, allocations: 4 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1167, allocations: 0 / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1167, allocations: 0 / 360.6 MB, free: 12.29 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.0004625/0.1172, allocations: 375.3 kB / 361 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1172, allocations: 11.97 kB / 361 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1173, allocations: 7.906 kB / 361 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1175, allocations: 198.8 kB / 361.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1175, allocations: 11.95 kB / 361.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1175, allocations: 8 kB / 361.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.1179, allocations: 153.9 kB / 361.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1179, allocations: 3.938 kB / 361.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1179, allocations: 7.984 kB / 361.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1179, allocations: 4 kB / 361.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.118, allocations: 39.92 kB / 361.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.1185, allocations: 381.7 kB / 361.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1187, allocations: 107.8 kB / 361.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1188, allocations: 58.69 kB / 362 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1189, allocations: 8.141 kB / 362 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.1189, allocations: 42.5 kB / 362 MB, free: 10.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1189, allocations: 0 / 362 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003453/0.1193, allocations: 129.7 kB / 362.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1194, allocations: 102.8 kB / 362.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1195, allocations: 144.2 kB / 362.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1195, allocations: 29.7 kB / 362.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.1196, allocations: 92.05 kB / 362.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.1196, allocations: 4 kB / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.1196, allocations: 4 kB / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1198, allocations: 322.8 kB / 362.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.1198, allocations: 20.05 kB / 362.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.1199, allocations: 71.66 kB / 362.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.12, allocations: 24 kB / 362.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.12, allocations: 0 / 362.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1202, allocations: 117.4 kB / 363.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1202, allocations: 4 kB / 363.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1202, allocations: 7.938 kB / 363.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1202, allocations: 0 / 363.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.1203, allocations: 23.98 kB / 363.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1203, allocations: 0 / 363.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.1204, allocations: 20.19 kB / 363.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1204, allocations: 8.188 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001066/0.1205, allocations: 129.7 kB / 363.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1207, allocations: 77.53 kB / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1207, allocations: 20.7 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1207, allocations: 0 / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1207, allocations: 4 kB / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1207, allocations: 0 / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.121, allocations: 181.6 kB / 363.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.121, allocations: 4 kB / 363.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.1211, allocations: 23.92 kB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1211, allocations: 7.938 kB / 363.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1211, allocations: 0 / 363.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1211, allocations: 0 / 363.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1211, allocations: 4 kB / 363.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.1215, allocations: 320.2 kB / 363.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.1216, allocations: 97 kB / 364 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1216, allocations: 0 / 364 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.1217, allocations: 7.953 kB / 364 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1218, allocations: 3.984 kB / 364 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1218, allocations: 12 kB / 364 MB, free: 8.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.248e-05/0.1219, allocations: 105.6 kB / 364.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 0 / 364.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1221, allocations: 11.91 kB / 364.1 MB, free: 8.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001137/0.1223, allocations: 107.2 kB / 364.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1224, allocations: 64.36 kB / 364.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1225, allocations: 0 / 364.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.1225, allocations: 11.98 kB / 364.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.123, allocations: 42.7 kB / 364.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.1234, allocations: 253.5 kB / 364.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1237, allocations: 0.6926 MB / 365.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.1238, allocations: 11.44 kB / 365.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1238, allocations: 0 / 365.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Templates: time 0.002309/0.1261, allocations: 0.9036 MB / 366.2 MB, free: 6.246 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3CalcHelperMain.o] Error 1