Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) 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(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007835/0.0007835, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008653/0.0008655, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.91/1.91, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09143/0.09143, allocations: 10.75 MB / 282.1 MB, free: 10.46 MB / 238.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.0005392/0.0005392, allocations: 15.91 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 50.01 MB / 392.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003194/0.1246, allocations: 1.959 MB / 394.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.128, allocations: 1.35 MB / 396.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.1285, allocations: 7.938 kB / 396.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1297, allocations: 467 kB / 396.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008099/0.1305, allocations: 291.2 kB / 397 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1319, allocations: 407.4 kB / 397.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000799/0.1327, allocations: 0.5571 MB / 397.9 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.1329, allocations: 93.52 kB / 398 MB, free: 300 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1334, allocations: 203 kB / 398.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.1338, allocations: 227 kB / 398.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.1339, allocations: 8 kB / 398.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.1342, allocations: 127.8 kB / 398.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.1344, allocations: 131.6 kB / 398.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.1347, allocations: 216.3 kB / 398.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1354, allocations: 451.2 kB / 399.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1354, allocations: 0 / 399.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1354, allocations: 0 / 399.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1354, allocations: 0 / 399.3 MB, free: 14.95 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00153/0.1369, allocations: 0.8346 MB / 400.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.137, allocations: 8.031 kB / 400.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1371, allocations: 56.28 kB / 400.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.1378, allocations: 471.7 kB / 400.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.1379, allocations: 20.36 kB / 400.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1379, allocations: 20.11 kB / 400.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1384, allocations: 240.5 kB / 401 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.1384, allocations: 0 / 401 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1384, allocations: 11.94 kB / 401 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1385, allocations: 11.92 kB / 401 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.1387, allocations: 127.9 kB / 401.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1399, allocations: 0.6754 MB / 401.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.1404, allocations: 233.7 kB / 402 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.1406, allocations: 84.81 kB / 402.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1406, allocations: 4 kB / 402.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.141, allocations: 183.1 kB / 402.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.494e-06/0.141, allocations: 3.938 kB / 402.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008235/0.1418, allocations: 401.3 kB / 402.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.1419, allocations: 132.5 kB / 402.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.1429, allocations: 0.7137 MB / 403.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.1429, allocations: 41.7 kB / 403.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1431, allocations: 240.5 kB / 403.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.1432, allocations: 67.23 kB / 403.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.1433, allocations: 33.7 kB / 403.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1435, allocations: 370.8 kB / 404.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1437, allocations: 68.25 kB / 404.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1441, allocations: 203 kB / 404.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.1446, allocations: 277.1 kB / 404.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1446, allocations: 0 / 404.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006328/0.1453, allocations: 324.7 kB / 405.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1453, allocations: 4.25 kB / 405.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1453, allocations: 8 kB / 405.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1453, allocations: 4 kB / 405.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1455, allocations: 39.91 kB / 405.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1455, allocations: 7.938 kB / 405.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1457, allocations: 35.81 kB / 405.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1457, allocations: 12 kB / 405.2 MB, free: 8.691 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: xor_gate.y[1]:DISCRETE(flow=false fixed = true ) "output vector" type: Boolean [1] or_gate.y[1]:DISCRETE(flow=false fixed = true ) "output vector" type: Boolean [1] not_gate.y[1]:DISCRETE(flow=false fixed = true ) "output vector" type: Boolean [1] and_gate.y[1]:DISCRETE(flow=false fixed = true ) "output vector" type: Boolean [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.xor_gate.y[1],xor_gate.y[1],$PRE.or_gate.y[1],or_gate.y[1],$PRE.not_gate.y[1],not_gate.y[1],$PRE.and_gate.y[1],and_gate.y[1],$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,or_gate.u[2],booleanConstant2.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,and_gate.u[3],not_gate_C.y[1],booleanConstant.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEvent,and_gate.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 1 * 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.0003298/0.1461, allocations: 250.7 kB / 405.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.1462, allocations: 59.23 kB / 405.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1463, allocations: 60.81 kB / 405.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1463, allocations: 4 kB / 405.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1463, allocations: 0 / 405.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1463, allocations: 4 kB / 405.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1468, allocations: 409.2 kB / 406 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1468, allocations: 0 / 406 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.1469, allocations: 12 kB / 406 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1469, allocations: 4 kB / 406 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.1469, allocations: 3.984 kB / 406 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1469, allocations: 4 kB / 406 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1469, allocations: 3.938 kB / 406 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.1475, allocations: 368.1 kB / 406.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1477, allocations: 140.4 kB / 406.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1478, allocations: 8 kB / 406.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1479, allocations: 11.98 kB / 406.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.148, allocations: 19.97 kB / 406.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.1481, allocations: 15.98 kB / 406.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006589/0.1487, allocations: 0.5105 MB / 407.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1487, allocations: 4 kB / 407.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.1492, allocations: 95.98 kB / 407.2 MB, free: 6.641 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: 18 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,and_gate.u[3],and_gate.u[4],and_gate.y[1],booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEventScaled,not_gate.y[1],or_gate.u[2],or_gate.y[1],xor_gate.y[1],not_gate_C.y[1]) * Number of discrete states: 6 (booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001286/0.1505, allocations: 468.8 kB / 407.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005038/0.151, allocations: 224 kB / 407.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.151, allocations: 4.125 kB / 407.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1513, allocations: 107.9 kB / 408 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.1519, allocations: 119.7 kB / 408.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1535, allocations: 0.9949 MB / 409.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.1541, allocations: 0.8626 MB / 409.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1542, allocations: 39.44 kB / 410 MB, free: 3.879 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1542, allocations: 0 / 410 MB, free: 3.879 MB / 302.1 MB Notification: Performance of Templates: time 0.0142/0.1684, allocations: 7.15 MB / 417.1 MB, free: 12.72 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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 OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperationsCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperationsCalcHelperMain.o] Error 1