Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.59 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.002576/0.002577, allocations: 173.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.975/1.975, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05811/0.05811, allocations: 10.74 MB / 281.8 MB, free: 10.54 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.0005238/0.0005238, allocations: 16 kB / 342.3 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 50 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003469/0.1464, allocations: 1.649 MB / 393.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1495, allocations: 1.101 MB / 395 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.15, allocations: 7.938 kB / 395 MB, free: 3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.1513, allocations: 271.4 kB / 395.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.152, allocations: 171.5 kB / 395.5 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1532, allocations: 247.5 kB / 395.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.1538, allocations: 307.1 kB / 396 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.154, allocations: 48.38 kB / 396 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1543, allocations: 123.5 kB / 396.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1545, allocations: 131.4 kB / 396.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.1545, allocations: 4 kB / 396.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.1549, allocations: 87.94 kB / 396.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.155, allocations: 71.73 kB / 396.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.1551, allocations: 69.52 kB / 396.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.1555, allocations: 279.6 kB / 396.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1555, allocations: 0 / 396.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1555, allocations: 4 kB / 396.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1555, allocations: 0 / 396.8 MB, free: 1.215 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001377/0.1569, allocations: 0.6106 MB / 397.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.586e-05/0.157, allocations: 8.031 kB / 397.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1571, allocations: 35.62 kB / 397.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.1577, allocations: 319.2 kB / 397.8 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.1577, allocations: 16.19 kB / 397.8 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1577, allocations: 12 kB / 397.8 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.1581, allocations: 153.3 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1581, allocations: 0 / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1582, allocations: 3.953 kB / 397.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1582, allocations: 4 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1584, allocations: 72.33 kB / 398 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1593, allocations: 496.6 kB / 398.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.1598, allocations: 150.8 kB / 398.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1599, allocations: 48.84 kB / 398.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.16, allocations: 7.984 kB / 398.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.1603, allocations: 142.1 kB / 398.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1603, allocations: 4 kB / 398.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006905/0.161, allocations: 281.1 kB / 399.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1611, allocations: 106.8 kB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.1617, allocations: 420.5 kB / 399.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.1617, allocations: 29.7 kB / 399.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1619, allocations: 160.4 kB / 399.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.1619, allocations: 47.44 kB / 399.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.162, allocations: 7.938 kB / 399.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1622, allocations: 358.8 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1623, allocations: 40.22 kB / 400.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1625, allocations: 152.4 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1627, allocations: 59.92 kB / 400.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1627, allocations: 4 kB / 400.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000415/0.1631, allocations: 229 kB / 400.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1631, allocations: 4 kB / 400.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1631, allocations: 4 kB / 400.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1632, allocations: 4 kB / 400.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1633, allocations: 31.92 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.1633, allocations: 4.25 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.1634, allocations: 27.83 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1635, allocations: 8 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) "status of the timer" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) "residual time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,$PRE.timer.run,timer.run,$PRE.timer.startTime,timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$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 (27): * Single equations (assignments): 27 * 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.0002964/0.1638, allocations: 196.4 kB / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1638, allocations: 27.62 kB / 401 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.1639, allocations: 39.28 kB / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1639, allocations: 4 kB / 401.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.1639, allocations: 0 / 401.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.164, allocations: 0 / 401.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.1643, allocations: 297.4 kB / 401.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1643, allocations: 0 / 401.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.1644, allocations: 11.94 kB / 401.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1644, allocations: 0 / 401.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.1644, allocations: 7.984 kB / 401.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1644, allocations: 0 / 401.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1644, allocations: 0 / 401.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.1649, allocations: 267.2 kB / 401.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.165, allocations: 116.6 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.1651, allocations: 8 kB / 401.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1652, allocations: 11.98 kB / 401.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.1652, allocations: 15.92 kB / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1653, allocations: 8 kB / 401.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.1656, allocations: 311 kB / 402.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1657, allocations: 0 / 402.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.166, allocations: 67.89 kB / 402.1 MB, free: 11.47 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,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 (17): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00123/0.1672, allocations: 443.8 kB / 402.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.1676, allocations: 156.2 kB / 402.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1677, allocations: 0 / 402.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.1679, allocations: 75.91 kB / 402.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1683, allocations: 77.19 kB / 402.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.1693, allocations: 0.5601 MB / 403.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1697, allocations: 0.7832 MB / 404.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1698, allocations: 27.42 kB / 404.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1698, allocations: 0 / 404.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Templates: time 0.008685/0.1785, allocations: 4.471 MB / 408.7 MB, free: 4.926 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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.Timers.Examples.testT_OffDelay_FedgeCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_FedgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_FedgeCalcHelperMain.o] Error 1