Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009749, allocations: 97.03 kB / 16.96 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 179.7 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 4 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002479/0.1253, allocations: 1.514 MB / 353.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1266, allocations: 0.6393 MB / 354 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1268, allocations: 4 kB / 354 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1269, allocations: 15.86 kB / 354 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1271, allocations: 23.84 kB / 354.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.1276, allocations: 118.9 kB / 354.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1278, allocations: 127.6 kB / 354.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.128, allocations: 49.56 kB / 354.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.1281, allocations: 43.78 kB / 354.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.1282, allocations: 47.66 kB / 354.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1282, allocations: 4 kB / 354.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.1283, allocations: 39.95 kB / 354.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.1284, allocations: 35.83 kB / 354.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.1285, allocations: 45.64 kB / 354.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1286, allocations: 131.7 kB / 354.7 MB, free: 1.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1286, allocations: 4 kB / 354.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1287, allocations: 0 / 354.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1287, allocations: 4 kB / 354.7 MB, free: 1.152 MB / 286.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.0006747/0.1293, allocations: 455 kB / 355.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1294, allocations: 12.03 kB / 355.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1295, allocations: 19.75 kB / 355.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1297, allocations: 230.8 kB / 355.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1298, allocations: 8.188 kB / 355.4 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1298, allocations: 8 kB / 355.4 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.1305, allocations: 346.1 kB / 355.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1305, allocations: 0 / 355.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1305, allocations: 8 kB / 355.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1305, allocations: 4 kB / 355.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.1308, allocations: 99.81 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1312, allocations: 345.5 kB / 356.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.1317, allocations: 282.1 kB / 356.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1319, allocations: 105.7 kB / 356.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.1325, allocations: 0.5895 MB / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1326, allocations: 34.78 kB / 357.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/0.1326, allocations: 3.984 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006152/0.1332, allocations: 257.2 kB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.1333, allocations: 114.8 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1335, allocations: 191.3 kB / 357.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1335, allocations: 29.7 kB / 357.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.1336, allocations: 108.7 kB / 357.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1336, allocations: 15.81 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.1337, allocations: 4 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1338, allocations: 334.8 kB / 358.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.1339, allocations: 32.36 kB / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.134, allocations: 176.6 kB / 358.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1342, allocations: 71.94 kB / 358.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1342, allocations: 0 / 358.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003192/0.1345, allocations: 217.2 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1345, allocations: 6.5 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1346, allocations: 11.94 kB / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1346, allocations: 4 kB / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1347, allocations: 39.92 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.1348, allocations: 12.48 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1349, allocations: 16 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1349, allocations: 16 kB / 358.8 MB, free: 12.56 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.0001639/0.1351, allocations: 149.7 kB / 359 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.1354, allocations: 165.3 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.1357, allocations: 191.3 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1357, allocations: 0 / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1357, allocations: 4 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1358, allocations: 0 / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.136, allocations: 229.4 kB / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.136, allocations: 0 / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1361, allocations: 43.92 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1362, allocations: 0 / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1362, allocations: 3.984 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1362, allocations: 4 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1362, allocations: 0 / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.1366, allocations: 303.2 kB / 359.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.1367, allocations: 112.8 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.1367, allocations: 11.94 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1369, allocations: 19.98 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.1369, allocations: 3.953 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1369, allocations: 8 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.137, allocations: 139.4 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.137, allocations: 0 / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1374, allocations: 36 kB / 360.2 MB, free: 11.05 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.0001815/0.1376, allocations: 111.2 kB / 360.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1379, allocations: 147.8 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1379, allocations: 1.188 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1379, allocations: 15.98 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.1385, allocations: 153.8 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.1392, allocations: 404.5 kB / 361 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1394, allocations: 0.7402 MB / 361.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.1395, allocations: 19.42 kB / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1395, allocations: 0 / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Templates: time 0.00407/0.1436, allocations: 2.179 MB / 364 MB, free: 7.23 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffectsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffectsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffectsCalcHelperMain.o] Error 1