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.001123/0.001123, allocations: 96.14 kB / 15.87 MB, free: 16 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.001517/0.001517, allocations: 192.8 kB / 16.79 MB, free: 6.812 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.602/1.602, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08465/0.08465, allocations: 10.74 MB / 280.7 MB, free: 10.97 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.00134/0.00134, allocations: 59.92 kB / 340.5 MB, free: 23.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 49.04 MB / 389.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.004431/0.1349, allocations: 2.321 MB / 391.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1374, allocations: 1.365 MB / 393.2 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1376, allocations: 11.88 kB / 393.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.1387, allocations: 471 kB / 393.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.1393, allocations: 283.2 kB / 394 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1404, allocations: 411.2 kB / 394.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.141, allocations: 0.5571 MB / 394.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1412, allocations: 97.52 kB / 395 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1415, allocations: 215 kB / 395.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1417, allocations: 235 kB / 395.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.1418, allocations: 12 kB / 395.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.1421, allocations: 135.8 kB / 395.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.1423, allocations: 139.5 kB / 395.7 MB, free: 496 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1425, allocations: 194.6 kB / 395.9 MB, free: 300 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.143, allocations: 467.1 kB / 396.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.143, allocations: 0 / 396.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.143, allocations: 3.938 kB / 396.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.143, allocations: 0 / 396.4 MB, free: 15.83 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.1446, allocations: 0.9122 MB / 397.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1446, allocations: 12.03 kB / 397.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1448, allocations: 56.27 kB / 397.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.1454, allocations: 463.8 kB / 397.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.1454, allocations: 16.36 kB / 397.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.1454, allocations: 24.12 kB / 397.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.1459, allocations: 252.4 kB / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1459, allocations: 3.938 kB / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.146, allocations: 11.98 kB / 398.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.146, allocations: 4 kB / 398.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.1463, allocations: 119.9 kB / 398.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1473, allocations: 0.6754 MB / 398.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.1478, allocations: 222.8 kB / 399.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.148, allocations: 88.81 kB / 399.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.148, allocations: 4 kB / 399.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.1484, allocations: 179.1 kB / 399.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/0.1484, allocations: 0 / 399.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008157/0.1492, allocations: 409.3 kB / 399.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.1493, allocations: 132.5 kB / 399.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.1501, allocations: 0.7137 MB / 400.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1501, allocations: 41.69 kB / 400.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1503, allocations: 240.5 kB / 400.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.1504, allocations: 59.25 kB / 401 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.1505, allocations: 65.69 kB / 401 MB, free: 10.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1507, allocations: 366.8 kB / 401.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.1508, allocations: 72.23 kB / 401.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1511, allocations: 198.1 kB / 401.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1516, allocations: 281.1 kB / 401.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1516, allocations: 0 / 401.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005562/0.1521, allocations: 336.6 kB / 402.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1522, allocations: 4 kB / 402.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1522, allocations: 4 kB / 402.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1522, allocations: 4 kB / 402.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1524, allocations: 35.92 kB / 402.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1524, allocations: 4 kB / 402.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1525, allocations: 32.08 kB / 402.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1526, allocations: 16 kB / 402.4 MB, free: 9.484 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.0003368/0.1529, allocations: 238.5 kB / 402.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.153, allocations: 63.41 kB / 402.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1531, allocations: 56.88 kB / 402.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.1532, allocations: 19.91 kB / 402.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1532, allocations: 0 / 402.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1532, allocations: 0 / 402.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.1536, allocations: 409.1 kB / 403.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1537, allocations: 0 / 403.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.1537, allocations: 15.98 kB / 403.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1537, allocations: 0 / 403.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1538, allocations: 8 kB / 403.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1538, allocations: 0 / 403.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1538, allocations: 0 / 403.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.1544, allocations: 368.1 kB / 403.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1545, allocations: 132.4 kB / 403.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.1546, allocations: 8 kB / 403.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1547, allocations: 15.98 kB / 403.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.1548, allocations: 15.97 kB / 403.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.1548, allocations: 12 kB / 403.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.1554, allocations: 0.5183 MB / 404.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1554, allocations: 0 / 404.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.1558, allocations: 95.89 kB / 404.3 MB, free: 7.445 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.001124/0.1569, allocations: 460.5 kB / 404.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005099/0.1574, allocations: 231.6 kB / 405 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1575, allocations: 4 kB / 405 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.1577, allocations: 115.9 kB / 405.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.1583, allocations: 106.8 kB / 405.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1597, allocations: 0.9907 MB / 406.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1602, allocations: 0.8587 MB / 407.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1603, allocations: 39.44 kB / 407.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 4 kB / 407.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of Templates: time 0.01289/0.1733, allocations: 7.231 MB / 414.3 MB, free: 13.46 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