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.001115/0.001115, allocations: 102.6 kB / 15.71 MB, free: 460 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.001391/0.001391, allocations: 176.2 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 222.8 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09341/0.09341, allocations: 10.75 MB / 281.8 MB, free: 10.78 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.0005691/0.0005693, allocations: 19.98 kB / 342.3 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 50.01 MB / 392.3 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003283/0.1249, allocations: 1.902 MB / 394.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.1277, allocations: 1.295 MB / 395.5 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.1282, allocations: 7.938 kB / 395.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.1296, allocations: 447 kB / 395.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.1304, allocations: 271.2 kB / 396.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.132, allocations: 379.4 kB / 396.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1331, allocations: 0.4986 MB / 397.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.1335, allocations: 85.28 kB / 397.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.1341, allocations: 207 kB / 397.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.1347, allocations: 219.1 kB / 397.6 MB, free: 500 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.1348, allocations: 8 kB / 397.6 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.1352, allocations: 115.8 kB / 397.7 MB, free: 376 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1354, allocations: 139.5 kB / 397.8 MB, free: 236 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1356, allocations: 97.45 kB / 397.9 MB, free: 132 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.1363, allocations: 447.2 kB / 398.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.1363, allocations: 7.938 kB / 398.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1363, allocations: 4 kB / 398.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1364, allocations: 0 / 398.4 MB, free: 15.68 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.001454/0.1378, allocations: 0.8344 MB / 399.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1379, allocations: 12.03 kB / 399.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.138, allocations: 55.34 kB / 399.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.1387, allocations: 446.9 kB / 399.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.1387, allocations: 8 kB / 399.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1387, allocations: 23.97 kB / 399.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.1392, allocations: 244.4 kB / 400 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1392, allocations: 3.953 kB / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.1393, allocations: 12 kB / 400 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.1393, allocations: 4 kB / 400 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1396, allocations: 123.9 kB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1407, allocations: 0.6793 MB / 400.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.1412, allocations: 217.8 kB / 401 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.1414, allocations: 92.7 kB / 401.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1414, allocations: 7.938 kB / 401.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.1418, allocations: 171.1 kB / 401.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.285e-06/0.1418, allocations: 0 / 401.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008612/0.1427, allocations: 401.3 kB / 401.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.1428, allocations: 144.4 kB / 401.8 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.1437, allocations: 0.702 MB / 402.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.1438, allocations: 45.67 kB / 402.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.144, allocations: 248.4 kB / 402.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1441, allocations: 59.25 kB / 402.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.1441, allocations: 4 kB / 402.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1443, allocations: 370.8 kB / 403.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1445, allocations: 72.25 kB / 403.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1448, allocations: 195.1 kB / 403.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.145, allocations: 91.91 kB / 403.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.145, allocations: 0 / 403.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005543/0.1456, allocations: 336.7 kB / 403.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1456, allocations: 4 kB / 403.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1456, allocations: 4 kB / 403.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1456, allocations: 11.98 kB / 403.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1458, allocations: 35.92 kB / 403.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1458, allocations: 4.25 kB / 403.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.146, allocations: 39.77 kB / 404 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.146, allocations: 12 kB / 404 MB, free: 9.707 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],$whenCondition4,$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition1,booleanConstant2.combiTimeTable.nextTimeEvent,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled,or_gate.u[2],and_gate.u[3],booleanConstant1.combiTimeTable.nextTimeEvent,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,and_gate.u[4],booleanConstant.combiTimeTable.nextTimeEvent,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEventScaled,not_gate_C.y[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.1464, allocations: 238.5 kB / 404.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.1465, allocations: 55.3 kB / 404.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1466, allocations: 60.86 kB / 404.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.1466, allocations: 4 kB / 404.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1466, allocations: 3.938 kB / 404.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1466, allocations: 7.922 kB / 404.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1471, allocations: 409.2 kB / 404.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1471, allocations: 3.938 kB / 404.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.1471, allocations: 12 kB / 404.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.1472, allocations: 7.953 kB / 404.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1472, allocations: 11.98 kB / 404.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1472, allocations: 0 / 404.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1472, allocations: 0 / 404.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.1478, allocations: 356.2 kB / 405.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1479, allocations: 140.4 kB / 405.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.148, allocations: 11.95 kB / 405.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1481, allocations: 19.98 kB / 405.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.1482, allocations: 23.97 kB / 405.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1482, allocations: 15.98 kB / 405.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006232/0.1489, allocations: 0.5066 MB / 405.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1489, allocations: 0 / 405.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.1493, allocations: 95.98 kB / 405.9 MB, free: 7.66 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 (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.001252/0.1506, allocations: 456.9 kB / 406.4 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.1511, allocations: 231.6 kB / 406.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1511, allocations: 3.906 kB / 406.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1513, allocations: 119.9 kB / 406.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.1518, allocations: 104.1 kB / 406.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1533, allocations: 0.9479 MB / 407.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.1538, allocations: 0.8548 MB / 408.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1539, allocations: 47.42 kB / 408.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1539, allocations: 0 / 408.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of Templates: time 0.01129/0.1652, allocations: 7.154 MB / 415.8 MB, free: 13.79 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++ 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 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