Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008329, allocations: 96.91 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.0009285/0.0009285, allocations: 199.3 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.588/1.588, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002452, allocations: 11.98 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.128, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002526/0.1306, allocations: 1.535 MB / 360.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.132, allocations: 0.6821 MB / 361 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1321, allocations: 4 kB / 361 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1323, allocations: 15.8 kB / 361 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1325, allocations: 19.86 kB / 361 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.133, allocations: 123.8 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1332, allocations: 139.5 kB / 361.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1333, allocations: 41.64 kB / 361.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1335, allocations: 47.78 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1336, allocations: 47.7 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1336, allocations: 4 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1337, allocations: 35.97 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.1338, allocations: 39.83 kB / 361.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1339, allocations: 45.64 kB / 361.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1341, allocations: 135.7 kB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1341, allocations: 0 / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1341, allocations: 0 / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1341, allocations: 0 / 361.7 MB, free: 11.22 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008037/0.1349, allocations: 469.7 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.135, allocations: 12.03 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.1352, allocations: 31.73 kB / 362.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1355, allocations: 226.8 kB / 362.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1356, allocations: 16.14 kB / 362.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1356, allocations: 4 kB / 362.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.1364, allocations: 347.5 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1364, allocations: 0 / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.1364, allocations: 8 kB / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1364, allocations: 0 / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.1367, allocations: 99.88 kB / 362.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1372, allocations: 349.5 kB / 363.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.1377, allocations: 278.2 kB / 363.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1379, allocations: 109.4 kB / 363.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.1386, allocations: 0.5895 MB / 364.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1386, allocations: 34.78 kB / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.1386, allocations: 0 / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005966/0.1392, allocations: 263.5 kB / 364.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1393, allocations: 122.8 kB / 364.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1395, allocations: 186.3 kB / 364.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1396, allocations: 33.7 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.1397, allocations: 108.5 kB / 364.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1397, allocations: 27.86 kB / 364.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1397, allocations: 0 / 364.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.14, allocations: 326.8 kB / 365.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.1401, allocations: 40.34 kB / 365.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1402, allocations: 167.5 kB / 365.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1404, allocations: 71.94 kB / 365.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1404, allocations: 0 / 365.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003552/0.1408, allocations: 217.3 kB / 365.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1408, allocations: 8 kB / 365.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1408, allocations: 4 kB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1408, allocations: 7.953 kB / 365.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.141, allocations: 43.92 kB / 365.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.141, allocations: 7.984 kB / 365.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1411, allocations: 16.28 kB / 365.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1412, allocations: 16 kB / 365.9 MB, free: 6.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001527/0.1413, allocations: 145.8 kB / 366 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.1416, allocations: 165.3 kB / 366.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.142, allocations: 193.8 kB / 366.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1421, allocations: 0 / 366.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1421, allocations: 7.953 kB / 366.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1421, allocations: 0 / 366.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1424, allocations: 233.4 kB / 366.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1424, allocations: 0 / 366.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1425, allocations: 43.92 kB / 366.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1425, allocations: 0 / 366.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1426, allocations: 3.984 kB / 366.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1426, allocations: 4 kB / 366.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1426, allocations: 0 / 366.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1431, allocations: 303.9 kB / 366.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1432, allocations: 108.9 kB / 367 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.1433, allocations: 8 kB / 367 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1434, allocations: 19.98 kB / 367.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1434, allocations: 4 kB / 367.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1435, allocations: 4 kB / 367.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1436, allocations: 140.4 kB / 367.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1436, allocations: 0 / 367.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000334/0.144, allocations: 32 kB / 367.2 MB, free: 5.102 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002717/0.1443, allocations: 111.2 kB / 367.3 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.1447, allocations: 151.7 kB / 367.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1447, allocations: 0 / 367.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.1448, allocations: 13.17 kB / 367.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.1454, allocations: 157.8 kB / 367.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.1461, allocations: 414.8 kB / 368.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1466, allocations: 0.7363 MB / 368.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1466, allocations: 15.44 kB / 368.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1467, allocations: 0 / 368.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of Templates: time 0.004447/0.1511, allocations: 2.181 MB / 371 MB, free: 1.281 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffectsCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffectsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffectsCalcHelperMain.o] Error 1