Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.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) 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(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 107.8 kB / 17.81 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002142, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.873/1.873, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001214/0.001214, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.004839/0.1571, allocations: 2.047 MB / 329.3 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1593, allocations: 1.038 MB / 330.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1594, allocations: 3.938 kB / 330.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.1606, allocations: 287.3 kB / 330.6 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1611, allocations: 183.5 kB / 330.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.1618, allocations: 239.6 kB / 331 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.1623, allocations: 343.1 kB / 331.3 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1625, allocations: 56.36 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.1627, allocations: 127.4 kB / 331.5 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1629, allocations: 139.4 kB / 331.7 MB, free: 452 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1629, allocations: 12 kB / 331.7 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1631, allocations: 67.89 kB / 331.7 MB, free: 372 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1633, allocations: 75.75 kB / 331.8 MB, free: 296 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.1634, allocations: 123.1 kB / 331.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.1638, allocations: 259.7 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1638, allocations: 4 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1638, allocations: 0 / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1639, allocations: 0 / 332.2 MB, free: 15.91 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001245/0.1651, allocations: 0.6534 MB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1652, allocations: 16.02 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.1653, allocations: 36.5 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.1657, allocations: 327.9 kB / 333.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1658, allocations: 8.375 kB / 333.2 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1658, allocations: 16.12 kB / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1661, allocations: 144 kB / 333.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1661, allocations: 3.938 kB / 333.4 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1662, allocations: 8 kB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1662, allocations: 4 kB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1664, allocations: 71.81 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.1671, allocations: 496.3 kB / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1675, allocations: 130.8 kB / 334.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1676, allocations: 52.83 kB / 334.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1676, allocations: 3.938 kB / 334.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.1679, allocations: 112.1 kB / 334.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1679, allocations: 0 / 334.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005131/0.1684, allocations: 215.2 kB / 334.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.1685, allocations: 110.8 kB / 334.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.169, allocations: 428.5 kB / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1691, allocations: 33.7 kB / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1693, allocations: 175.9 kB / 335.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.1694, allocations: 35.55 kB / 335.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.1694, allocations: 41.7 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1696, allocations: 346.8 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1698, allocations: 43.98 kB / 335.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1699, allocations: 106 kB / 335.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1701, allocations: 107 kB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1701, allocations: 0 / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003307/0.1705, allocations: 177.2 kB / 336 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1705, allocations: 11.88 kB / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1705, allocations: 0 / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1705, allocations: 8.062 kB / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1707, allocations: 19.98 kB / 336.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1707, allocations: 4 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1708, allocations: 27.81 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1708, allocations: 7.984 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,Pre1.y,Pre1.u,$PRE.Pre1.u,And1.y,Not1.y,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001947/0.171, allocations: 167.5 kB / 336.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.1711, allocations: 35.56 kB / 336.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.1712, allocations: 38.92 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1712, allocations: 0 / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1712, allocations: 0 / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1712, allocations: 0 / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.1717, allocations: 301.4 kB / 336.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1717, allocations: 0 / 336.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.1717, allocations: 11.94 kB / 336.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1717, allocations: 3.938 kB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1718, allocations: 8 kB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1718, allocations: 0 / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1718, allocations: 0 / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1722, allocations: 204.7 kB / 336.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.1723, allocations: 112.7 kB / 337 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.1724, allocations: 11.94 kB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.1724, allocations: 7.984 kB / 337 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1725, allocations: 11.98 kB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1725, allocations: 8 kB / 337 MB, free: 10.7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004136/0.173, allocations: 319 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.173, allocations: 0 / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1733, allocations: 52 kB / 337.4 MB, free: 10.34 MB / 286.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 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,Pre1.u,Pre1.y) * Number of discrete states: 5 (Pre1.u,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001136/0.1744, allocations: 438.3 kB / 337.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.1748, allocations: 111.9 kB / 337.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1748, allocations: 0 / 337.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.175, allocations: 68.03 kB / 338 MB, free: 9.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1754, allocations: 65.39 kB / 338 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.1764, allocations: 0.5856 MB / 338.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.1769, allocations: 0.7716 MB / 339.4 MB, free: 8.262 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.177, allocations: 39.36 kB / 339.4 MB, free: 8.223 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.177, allocations: 4 kB / 339.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of Templates: time 0.007262/0.1842, allocations: 4.172 MB / 343.6 MB, free: 4.039 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o] Error 1