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.001266/0.001266, 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.001479/0.00148, allocations: 195.2 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.642/1.642, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06042/0.06042, allocations: 10.75 MB / 280.7 MB, free: 10.7 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.001549/0.001549, allocations: 63.91 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 49.02 MB / 389.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.005266/0.1351, allocations: 2.01 MB / 391.5 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1378, allocations: 1.108 MB / 392.6 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.1382, allocations: 7.938 kB / 392.7 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1395, allocations: 299.4 kB / 392.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006518/0.1402, allocations: 191.4 kB / 393.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.141, allocations: 247.6 kB / 393.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1416, allocations: 339.1 kB / 393.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1418, allocations: 36.39 kB / 393.7 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.142, allocations: 127.5 kB / 393.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1422, allocations: 143.4 kB / 394 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.1422, allocations: 12 kB / 394 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1425, allocations: 79.88 kB / 394.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1426, allocations: 75.75 kB / 394.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1428, allocations: 123.2 kB / 394.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.1432, allocations: 275.7 kB / 394.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1432, allocations: 3.938 kB / 394.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1432, allocations: 0 / 394.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1432, allocations: 0 / 394.6 MB, free: 1.641 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.001403/0.1447, allocations: 0.6722 MB / 395.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.1447, allocations: 12.03 kB / 395.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1448, allocations: 40.45 kB / 395.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.1453, allocations: 334.3 kB / 395.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1454, allocations: 4.375 kB / 395.6 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1454, allocations: 16.12 kB / 395.6 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1458, allocations: 127 kB / 395.8 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1458, allocations: 4 kB / 395.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1458, allocations: 8 kB / 395.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1458, allocations: 0 / 395.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.146, allocations: 59.95 kB / 395.8 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.1468, allocations: 476.3 kB / 396.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.1472, allocations: 138.7 kB / 396.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1473, allocations: 48.83 kB / 396.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1473, allocations: 4 kB / 396.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.1476, allocations: 115.3 kB / 396.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1476, allocations: 0 / 396.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006127/0.1482, allocations: 237.3 kB / 396.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.1483, allocations: 106.8 kB / 396.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.149, allocations: 473.6 kB / 397.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.149, allocations: 29.7 kB / 397.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1492, allocations: 168.3 kB / 397.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1492, allocations: 43.48 kB / 397.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.1493, allocations: 45.7 kB / 397.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1495, allocations: 342.8 kB / 398 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1496, allocations: 43.97 kB / 398 MB, free: 13.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1498, allocations: 125.4 kB / 398.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1501, allocations: 133.9 kB / 398.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1501, allocations: 8 kB / 398.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003467/0.1504, allocations: 197 kB / 398.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1505, allocations: 4 kB / 398.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1505, allocations: 0 / 398.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.1505, allocations: 4 kB / 398.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1506, allocations: 31.92 kB / 398.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1507, allocations: 4 kB / 398.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1508, allocations: 23.98 kB / 398.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1508, allocations: 8 kB / 398.6 MB, free: 13.31 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 (flipFlopSR.y1,$PRE.flipFlopSR.y1,flipFlopSR.y2,$PRE.flipFlopSR.y2,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.151, allocations: 172 kB / 398.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1511, allocations: 35.56 kB / 398.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.1512, allocations: 38.98 kB / 398.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1512, allocations: 0 / 398.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1512, allocations: 3.938 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1512, allocations: 3.984 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.1515, allocations: 293.5 kB / 399.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1515, allocations: 4 kB / 399.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.1516, allocations: 19.88 kB / 399.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1516, allocations: 0 / 399.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1516, allocations: 4 kB / 399.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1516, allocations: 4.109 kB / 399.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.1517, allocations: 4 kB / 399.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.152, allocations: 216.4 kB / 399.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.1522, allocations: 120.6 kB / 399.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1522, allocations: 3.984 kB / 399.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.1523, allocations: 8 kB / 399.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.1524, allocations: 15.97 kB / 399.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1524, allocations: 4 kB / 399.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.1528, allocations: 347.1 kB / 399.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1528, allocations: 0 / 399.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1531, allocations: 55.89 kB / 399.9 MB, free: 11.89 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 (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.001088/0.1542, allocations: 452.3 kB / 400.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1546, allocations: 123.8 kB / 400.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1546, allocations: 0 / 400.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1547, allocations: 63.91 kB / 400.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1553, allocations: 69.97 kB / 400.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.1562, allocations: 0.5981 MB / 401.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.1567, allocations: 0.7833 MB / 402 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.1568, allocations: 23.44 kB / 402 MB, free: 9.84 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1568, allocations: 0 / 402 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Templates: time 0.007271/0.1641, allocations: 4.407 MB / 406.4 MB, free: 5.422 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++ -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.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