Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.67 kB / 15.71 MB, free: 452 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.001545/0.001545, allocations: 174.6 kB / 16.58 MB, free: 6.422 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.972/1.972, allocations: 205.4 MB / 222.8 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05779/0.05779, allocations: 10.74 MB / 281.8 MB, free: 10.79 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.0005007/0.0005008, allocations: 16 kB / 342.3 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 50.02 MB / 392.3 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003845/0.1367, allocations: 1.613 MB / 393.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1391, allocations: 1.05 MB / 394.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.1393, allocations: 3.938 kB / 394.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.1403, allocations: 291.4 kB / 395.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.1408, allocations: 175.5 kB / 395.4 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.1417, allocations: 227.6 kB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.1423, allocations: 307.2 kB / 395.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1425, allocations: 40.38 kB / 396 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.1428, allocations: 123.5 kB / 396.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.1431, allocations: 139.4 kB / 396.2 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.1431, allocations: 8 kB / 396.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.1434, allocations: 67.94 kB / 396.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1436, allocations: 79.75 kB / 396.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.1437, allocations: 69.5 kB / 396.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.1441, allocations: 267.7 kB / 396.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1441, allocations: 0 / 396.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1441, allocations: 0 / 396.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1442, allocations: 3.938 kB / 396.7 MB, free: 1.332 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001373/0.1455, allocations: 0.6293 MB / 397.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1456, allocations: 8.031 kB / 397.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1458, allocations: 31.62 kB / 397.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.1464, allocations: 329.2 kB / 397.7 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.1465, allocations: 8 kB / 397.7 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1465, allocations: 15.98 kB / 397.7 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1469, allocations: 127.2 kB / 397.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1469, allocations: 7.938 kB / 397.8 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1469, allocations: 3.953 kB / 397.8 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1469, allocations: 0 / 397.8 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1471, allocations: 63.95 kB / 397.9 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.1481, allocations: 468.4 kB / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.1485, allocations: 138.7 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1486, allocations: 48.83 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.1487, allocations: 8 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.149, allocations: 115.3 kB / 398.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.149, allocations: 0 / 398.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.000621/0.1496, allocations: 229.3 kB / 398.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.1497, allocations: 106.8 kB / 399 MB, free: 14.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.1504, allocations: 469.6 kB / 399.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.1505, allocations: 33.7 kB / 399.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1507, allocations: 164.3 kB / 399.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.1508, allocations: 43.45 kB / 399.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1508, allocations: 4 kB / 399.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.151, allocations: 342.8 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1511, allocations: 44.36 kB / 400.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1513, allocations: 134 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1515, allocations: 59.94 kB / 400.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1515, allocations: 4 kB / 400.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004073/0.1519, allocations: 185.1 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1519, allocations: 4 kB / 400.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.152, allocations: 4 kB / 400.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.152, allocations: 0 / 400.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1521, allocations: 31.92 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1521, allocations: 4 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1523, allocations: 23.98 kB / 400.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1523, allocations: 12 kB / 400.5 MB, free: 13.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.flipFlopSR.y1,flipFlopSR.y1,$PRE.flipFlopSR.y2,flipFlopSR.y2,$whenCondition3,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition1,resetSIGNAL.y,resetSIGNAL.combiTimeTable.nextTimeEvent,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEvent,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002104/0.1525, allocations: 172.1 kB / 400.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.1526, allocations: 39.61 kB / 400.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.1527, allocations: 34.92 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1527, allocations: 4 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1527, allocations: 0 / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1527, allocations: 4 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.153, allocations: 293.5 kB / 401.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1531, allocations: 3.953 kB / 401.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.1531, allocations: 15.98 kB / 401.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1531, allocations: 0 / 401.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1531, allocations: 0 / 401.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1532, allocations: 4 kB / 401.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1532, allocations: 128 / 401.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.1536, allocations: 228.3 kB / 401.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1537, allocations: 120.6 kB / 401.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.1538, allocations: 11.94 kB / 401.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.1538, allocations: 11.98 kB / 401.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.1539, allocations: 15.92 kB / 401.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1539, allocations: 4 kB / 401.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004281/0.1544, allocations: 347.1 kB / 401.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1544, allocations: 0 / 401.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.1548, allocations: 60 kB / 401.9 MB, free: 11.78 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: 11 ($whenCondition3,$whenCondition2,$whenCondition1,flipFlopSR.y1,flipFlopSR.y2,setSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.y,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (flipFlopSR.y1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001134/0.1559, allocations: 429.8 kB / 402.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1563, allocations: 123.8 kB / 402.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.1563, allocations: 0 / 402.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1564, allocations: 55.98 kB / 402.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1569, allocations: 78.33 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.158, allocations: 0.5752 MB / 403.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.1585, allocations: 0.7873 MB / 403.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1586, allocations: 27.44 kB / 403.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1586, allocations: 0 / 403.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009702/0.1683, allocations: 4.369 MB / 408.3 MB, free: 5.395 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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.FliFlopCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlopCalcHelperMain.o] Error 1