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.0007692/0.0007695, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.0008068/0.0008071, allocations: 185 kB / 18.48 MB, free: 5.254 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.66/1.66, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004315/0.0004315, allocations: 15.98 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09137, allocations: 47.57 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.002301/0.09371, allocations: 1.647 MB / 330.6 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.09531, allocations: 0.9838 MB / 331.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.09545, allocations: 7.938 kB / 331.6 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.09624, allocations: 275.4 kB / 331.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.09666, allocations: 175.5 kB / 332 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.0973, allocations: 223.6 kB / 332.3 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.0977, allocations: 299.2 kB / 332.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.09789, allocations: 64.47 kB / 332.6 MB, free: 428 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.09808, allocations: 119.5 kB / 332.7 MB, free: 308 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.09827, allocations: 127.5 kB / 332.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.09831, allocations: 8 kB / 332.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.09847, allocations: 59.91 kB / 332.9 MB, free: 112 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.09858, allocations: 71.73 kB / 333 MB, free: 40 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.09868, allocations: 65.58 kB / 333.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.09898, allocations: 259.6 kB / 333.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.099, allocations: 0 / 333.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.09901, allocations: 0 / 333.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09902, allocations: 3.938 kB / 333.3 MB, free: 15.71 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.0008501/0.09987, allocations: 0.6182 MB / 333.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09992, allocations: 8.031 kB / 333.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.09999, allocations: 31.62 kB / 334 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1004, allocations: 315 kB / 334.3 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1004, allocations: 11.94 kB / 334.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1004, allocations: 12 kB / 334.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1007, allocations: 144.2 kB / 334.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1007, allocations: 0 / 334.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1008, allocations: 8 kB / 334.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1008, allocations: 0 / 334.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1009, allocations: 75.75 kB / 334.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.1016, allocations: 0.4925 MB / 335 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1019, allocations: 130.8 kB / 335.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.102, allocations: 52.83 kB / 335.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1021, allocations: 4 kB / 335.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.1023, allocations: 119.2 kB / 335.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1023, allocations: 0 / 335.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004554/0.1028, allocations: 212.6 kB / 335.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.1028, allocations: 102.8 kB / 335.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.1033, allocations: 428.4 kB / 336 MB, free: 12.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1034, allocations: 37.7 kB / 336.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1035, allocations: 171.9 kB / 336.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1036, allocations: 39.45 kB / 336.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.1036, allocations: 4 kB / 336.3 MB, free: 12.49 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1038, allocations: 342.8 kB / 336.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.1039, allocations: 39.98 kB / 336.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.104, allocations: 117.9 kB / 336.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1041, allocations: 43.94 kB / 336.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1042, allocations: 3.984 kB / 336.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002839/0.1044, allocations: 173.2 kB / 337 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1045, allocations: 6.656 kB / 337 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1045, allocations: 4.062 kB / 337 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1045, allocations: 4 kB / 337 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1046, allocations: 27.92 kB / 337 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1046, allocations: 4 kB / 337 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.1047, allocations: 19.83 kB / 337.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1048, allocations: 8 kB / 337.1 MB, free: 11.68 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 ($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.00018/0.105, allocations: 171.5 kB / 337.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.105, allocations: 31.67 kB / 337.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.1051, allocations: 38.94 kB / 337.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1051, allocations: 4 kB / 337.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1051, allocations: 0 / 337.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1051, allocations: 0 / 337.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1054, allocations: 301.3 kB / 337.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1054, allocations: 3.938 kB / 337.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1055, allocations: 12 kB / 337.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1055, allocations: 7.938 kB / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1055, allocations: 0 / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1055, allocations: 4 kB / 337.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1055, allocations: 4 kB / 337.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1058, allocations: 197.8 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.1059, allocations: 112.7 kB / 337.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.106, allocations: 11.95 kB / 338 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1061, allocations: 11.98 kB / 338 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1061, allocations: 15.98 kB / 338 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1062, allocations: 8 kB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.1065, allocations: 311 kB / 338.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1065, allocations: 0 / 338.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1068, allocations: 51.98 kB / 338.3 MB, free: 10.31 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 (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.0009477/0.1077, allocations: 416 kB / 338.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.108, allocations: 131.8 kB / 338.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.108, allocations: 0 / 338.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1082, allocations: 63.91 kB / 338.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1085, allocations: 65.36 kB / 339 MB, free: 9.652 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.1094, allocations: 0.556 MB / 339.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1097, allocations: 0.7796 MB / 340.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.1098, allocations: 27.42 kB / 340.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1098, allocations: 4 kB / 340.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of Templates: time 0.006708/0.1165, allocations: 4.118 MB / 344.5 MB, free: 4.102 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++ 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_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