Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001021/0.001021, allocations: 98.55 kB / 17.96 MB, free: 5.77 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.001497/0.001497, allocations: 182.5 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006163/0.0006162, allocations: 19.94 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1312, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003139/0.1344, allocations: 1.689 MB / 331.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1367, allocations: 1.022 MB / 332.3 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.137, allocations: 4 kB / 332.3 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.1382, allocations: 291.3 kB / 332.6 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.1388, allocations: 183.5 kB / 332.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.1397, allocations: 243.6 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.1403, allocations: 335.1 kB / 333.3 MB, free: 0 / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.1406, allocations: 64.38 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1408, allocations: 119.4 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.141, allocations: 131.4 kB / 333.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1411, allocations: 8 kB / 333.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.1413, allocations: 63.91 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1414, allocations: 71.73 kB / 333.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1416, allocations: 140.9 kB / 333.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.142, allocations: 251.7 kB / 334.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.142, allocations: 7.984 kB / 334.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.142, allocations: 0 / 334.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.142, allocations: 0 / 334.2 MB, free: 15.15 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001056/0.1431, allocations: 0.6067 MB / 334.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1431, allocations: 8.031 kB / 334.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.1432, allocations: 32.56 kB / 334.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.1437, allocations: 335.9 kB / 335.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1437, allocations: 12.38 kB / 335.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1438, allocations: 16.12 kB / 335.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1441, allocations: 140.1 kB / 335.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1441, allocations: 0 / 335.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1441, allocations: 11.94 kB / 335.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.1441, allocations: 0 / 335.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1443, allocations: 75.81 kB / 335.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.1451, allocations: 492.4 kB / 335.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1454, allocations: 134.8 kB / 336 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1455, allocations: 56.77 kB / 336.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1456, allocations: 3.984 kB / 336.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.1458, allocations: 115.2 kB / 336.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.1458, allocations: 4 kB / 336.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005197/0.1464, allocations: 212.9 kB / 336.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1465, allocations: 110.8 kB / 336.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.147, allocations: 432.4 kB / 336.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.147, allocations: 37.69 kB / 337 MB, free: 12.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1471, allocations: 164 kB / 337.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.1472, allocations: 39.45 kB / 337.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1472, allocations: 21.72 kB / 337.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1474, allocations: 354.8 kB / 337.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1475, allocations: 39.98 kB / 337.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1477, allocations: 102 kB / 337.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1479, allocations: 114.4 kB / 337.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1479, allocations: 0 / 337.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003181/0.1482, allocations: 173.2 kB / 338 MB, free: 11.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1483, allocations: 7.938 kB / 338 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1483, allocations: 0 / 338 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1483, allocations: 4 kB / 338 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1484, allocations: 19.98 kB / 338 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1484, allocations: 4.062 kB / 338 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1486, allocations: 27.83 kB / 338 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1486, allocations: 7.938 kB / 338 MB, free: 11.02 MB / 286.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 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,Pre1.y,Pre1.u,$PRE.Pre1.u,And1.y,Not1.y,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.1488, allocations: 163.6 kB / 338.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1488, allocations: 39.55 kB / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.1489, allocations: 34.94 kB / 338.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1489, allocations: 0 / 338.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1489, allocations: 4 kB / 338.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1489, allocations: 7.938 kB / 338.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1492, allocations: 301.4 kB / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1492, allocations: 0 / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.1493, allocations: 7.938 kB / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1493, allocations: 7.938 kB / 338.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1493, allocations: 3.984 kB / 338.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1493, allocations: 0 / 338.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1493, allocations: 0 / 338.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1497, allocations: 197.8 kB / 338.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.1498, allocations: 120.6 kB / 338.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.1498, allocations: 7.938 kB / 338.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.1499, allocations: 12 kB / 338.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.15, allocations: 11.97 kB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.15, allocations: 12 kB / 338.9 MB, free: 10 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.1504, allocations: 311 kB / 339.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1504, allocations: 0 / 339.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1507, allocations: 56 kB / 339.3 MB, free: 9.648 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.1517, allocations: 431.8 kB / 339.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1521, allocations: 115.8 kB / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1521, allocations: 0 / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1522, allocations: 63.91 kB / 339.9 MB, free: 9.055 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1526, allocations: 77.48 kB / 340 MB, free: 8.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/0.1535, allocations: 0.5793 MB / 340.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1539, allocations: 0.7755 MB / 341.3 MB, free: 7.562 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.154, allocations: 31.44 kB / 341.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.154, allocations: 3.938 kB / 341.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of Templates: time 0.006732/0.1608, allocations: 4.126 MB / 345.5 MB, free: 3.395 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o] Error 1