Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.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.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 96.06 kB / 16.95 MB, free: 5.953 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.0009333/0.0009333, allocations: 177.4 kB / 17.84 MB, free: 5.617 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.465/1.465, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 12.52 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.00243/0.1189, allocations: 1.645 MB / 353.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1207, allocations: 1.053 MB / 354.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1208, allocations: 0 / 354.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.1216, allocations: 282.5 kB / 354.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.122, allocations: 171.5 kB / 355 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.1227, allocations: 251.4 kB / 355.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.123, allocations: 307.2 kB / 355.6 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1232, allocations: 52.5 kB / 355.6 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1233, allocations: 115.5 kB / 355.7 MB, free: 148 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1235, allocations: 127.5 kB / 355.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1236, allocations: 8 kB / 355.9 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1237, allocations: 63.91 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1238, allocations: 75.72 kB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.1239, allocations: 65.58 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1242, allocations: 255.6 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1242, allocations: 0 / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1242, allocations: 0 / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1242, allocations: 3.938 kB / 356.3 MB, free: 15.55 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009029/0.1251, allocations: 0.6143 MB / 356.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1252, allocations: 12.03 kB / 356.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.1253, allocations: 35.58 kB / 357 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.1257, allocations: 307 kB / 357.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1258, allocations: 8 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1258, allocations: 12 kB / 357.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1261, allocations: 148 kB / 357.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1261, allocations: 0 / 357.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1261, allocations: 8 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1261, allocations: 4 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.1263, allocations: 79.83 kB / 357.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.1271, allocations: 0.4925 MB / 358 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1274, allocations: 126.8 kB / 358.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1275, allocations: 48.83 kB / 358.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1276, allocations: 4 kB / 358.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1278, allocations: 115.3 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1278, allocations: 0 / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004527/0.1283, allocations: 213.2 kB / 358.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1284, allocations: 102.8 kB / 358.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.1288, allocations: 432.4 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1289, allocations: 29.64 kB / 359.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.129, allocations: 172 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.1291, allocations: 43.38 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1291, allocations: 4 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1292, allocations: 346.8 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1294, allocations: 43.97 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1295, allocations: 105.9 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1296, allocations: 43.98 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1296, allocations: 0 / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003209/0.13, allocations: 176.1 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.13, allocations: 8 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.13, allocations: 0 / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.13, allocations: 4.062 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1301, allocations: 27.92 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1301, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.1302, allocations: 23.84 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1303, allocations: 7.953 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,$PRE.Pre1.u,Pre1.u,Pre1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001857/0.1305, allocations: 171.5 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1305, allocations: 27.72 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.1306, allocations: 38.94 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1306, allocations: 0 / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1306, allocations: 4 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1306, allocations: 3.984 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.1309, allocations: 297.4 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1309, allocations: 0 / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.131, allocations: 11.98 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.131, allocations: 0 / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.131, allocations: 8 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.131, allocations: 0 / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.131, allocations: 0 / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1314, allocations: 212.5 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.1315, allocations: 112.7 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.1315, allocations: 8 kB / 360.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.1316, allocations: 7.984 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.1317, allocations: 15.98 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1317, allocations: 7.984 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003261/0.132, allocations: 319 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.132, allocations: 0 / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1323, allocations: 47.98 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,Pre1.u,Pre1.y) * Number of discrete states: 5 (Pre1.u,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001017/0.1333, allocations: 428.6 kB / 361.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1336, allocations: 115.8 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1336, allocations: 4.125 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1337, allocations: 63.16 kB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1341, allocations: 69.33 kB / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.135, allocations: 0.5675 MB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1354, allocations: 0.7718 MB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.1355, allocations: 27.44 kB / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1355, allocations: 0 / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of Templates: time 0.006765/0.1423, allocations: 4.132 MB / 367.5 MB, free: 4.125 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.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.Blocks.Examples.LogicalNetwork1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o] Error 1